mirror of
https://github.com/VitalickS/BrightSharp.Toolkit.git
synced 2026-03-21 10:21:16 +00:00
v1.0
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
using AppleJobs.Data.Models;
|
||||
using AppleJobs.Data.Models.Articles;
|
||||
using AppleJobs.Data.Models.Common;
|
||||
using AppleJobs.Data.Models.Inventory;
|
||||
using AppleJobs.Data.Models.ModelsJobs;
|
||||
using AppleJobs.Data.Models.Orders;
|
||||
using Microsoft.AspNet.Identity.EntityFramework;
|
||||
using MySql.Data.Entity;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Data.Entity;
|
||||
|
||||
namespace AppleJobs.Data
|
||||
@@ -41,6 +43,13 @@ namespace AppleJobs.Data
|
||||
|
||||
#endregion
|
||||
|
||||
#region Articles / News
|
||||
|
||||
public DbSet<News> News { get; set; }
|
||||
public DbSet<NewsCategory> NewsCategories { get; set; }
|
||||
|
||||
#endregion
|
||||
|
||||
public AppleJobsContext(string connection = "Default") : base(connection)
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user