commited manu changes
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
using LuminousSales.Data;
|
||||||
|
|
||||||
namespace LuminousSales.Business
|
namespace LuminousSales.Business
|
||||||
{
|
{
|
||||||
|
@@ -1,6 +1,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
using LuminousSales.Data;
|
||||||
|
|
||||||
namespace LuminousSales.Business
|
namespace LuminousSales.Business
|
||||||
{
|
{
|
||||||
|
@@ -1,6 +1,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
using LuminousSales.Data;
|
||||||
|
|
||||||
namespace LuminousSales.Business
|
namespace LuminousSales.Business
|
||||||
{
|
{
|
||||||
|
@@ -1,6 +1,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
using LuminousSales.Data;
|
||||||
|
|
||||||
namespace LuminousSales.Business
|
namespace LuminousSales.Business
|
||||||
{
|
{
|
||||||
|
@@ -1,6 +1,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
using LuminousSales.Data;
|
||||||
|
|
||||||
namespace LuminousSales.Business
|
namespace LuminousSales.Business
|
||||||
{
|
{
|
||||||
|
@@ -1,6 +1,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
using LuminousSales.Data;
|
||||||
|
|
||||||
namespace LuminousSales.Business
|
namespace LuminousSales.Business
|
||||||
{
|
{
|
||||||
|
@@ -1,6 +1,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
using LuminousSales.Data;
|
||||||
|
|
||||||
namespace LuminousSales.Business
|
namespace LuminousSales.Business
|
||||||
{
|
{
|
||||||
|
@@ -1,10 +1,15 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
using Microsoft.EntityFrameworkCore;
|
||||||
|
|
||||||
namespace LuminousSales.Data
|
namespace LuminousSales.Data
|
||||||
{
|
{
|
||||||
public class DealContext
|
public class DealContext : DbContext
|
||||||
{
|
{
|
||||||
|
public DealContext()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1,10 +1,15 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
using Microsoft.EntityFrameworkCore;
|
||||||
|
|
||||||
namespace LuminousSales.Data
|
namespace LuminousSales.Data
|
||||||
{
|
{
|
||||||
public class PermissionContext
|
public class PermissionContext: DbContext
|
||||||
{
|
{
|
||||||
|
public PermissionContext()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1,14 +1,14 @@
|
|||||||
using Microsoft.EntityFrameworkCore;
|
using Microsoft.EntityFrameworkCore;
|
||||||
using Models.Models;
|
|
||||||
|
|
||||||
namespace LuminousSales.Data
|
namespace LuminousSales.Data
|
||||||
{
|
{
|
||||||
public class RoleContext : DbContext
|
public class RoleContext : DbContext
|
||||||
{
|
{
|
||||||
public RoleContext():base("name = RoleContext")
|
public RoleContext():base()
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
public DbSet<Role> Roles { get; set; }
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -7,10 +7,10 @@ namespace LuminousSales.Data
|
|||||||
{
|
{
|
||||||
public class RolesToPermissionContext:DbContext
|
public class RolesToPermissionContext:DbContext
|
||||||
{
|
{
|
||||||
public RolesToPermissionContext():base("name = RolesToPermissionContext")
|
public RolesToPermissionContext():base()
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
public DbSet<Role> Roles { get; set; }
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
15
LuminousSales/LuminousSales/Data/StockContext.cs
Normal file
15
LuminousSales/LuminousSales/Data/StockContext.cs
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Text;
|
||||||
|
using Microsoft.EntityFrameworkCore;
|
||||||
|
|
||||||
|
namespace LuminousSales.Data
|
||||||
|
{
|
||||||
|
public class StockContext:DbContext
|
||||||
|
{
|
||||||
|
public StockContext()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
15
LuminousSales/LuminousSales/Data/UserContext.cs
Normal file
15
LuminousSales/LuminousSales/Data/UserContext.cs
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Text;
|
||||||
|
using Microsoft.EntityFrameworkCore;
|
||||||
|
|
||||||
|
namespace LuminousSales.Data
|
||||||
|
{
|
||||||
|
public class UserContext:DbContext
|
||||||
|
{
|
||||||
|
public UserContext():base()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
15
LuminousSales/LuminousSales/Data/UsersToRolesContext.cs
Normal file
15
LuminousSales/LuminousSales/Data/UsersToRolesContext.cs
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Text;
|
||||||
|
using Microsoft.EntityFrameworkCore;
|
||||||
|
|
||||||
|
namespace LuminousSales.Data
|
||||||
|
{
|
||||||
|
public class UsersToRolesContext:DbContext
|
||||||
|
{
|
||||||
|
public UsersToRolesContext():base()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Reference in New Issue
Block a user