Class AuthDbContext
Entity Framework DB Context for security model.
Inheritance
AuthDbContext
Assembly: WMServer.dll
Syntax
public class AuthDbContext : DbContext, IInfrastructure<IServiceProvider>, IDbContextDependencies, IDbSetCache, IDbContextPoolable, IResettableService, IDisposable, IAsyncDisposable
Constructors
AuthDbContext(DbContextOptions<AuthDbContext>)
Declaration
public AuthDbContext(DbContextOptions<AuthDbContext> options)
Parameters
Properties
APIKey
Declaration
public DbSet<APIKey> APIKey { get; set; }
Property Value
JoinPermissionAssign
Declaration
public DbSet<JoinPermissionAssign> JoinPermissionAssign { get; set; }
Property Value
JoinPolicyAssign
Declaration
public DbSet<JoinPolicyAssign> JoinPolicyAssign { get; set; }
Property Value
JoinUserRoleWMUser
Declaration
public DbSet<JoinUserRoleWMUser> JoinUserRoleWMUser { get; set; }
Property Value
JoinWMUserWMOrganization
Declaration
public DbSet<JoinWMUserWMOrganization> JoinWMUserWMOrganization { get; set; }
Property Value
Permission
Declaration
public DbSet<Permission> Permission { get; set; }
Property Value
Policy
Declaration
public DbSet<Policy> Policy { get; set; }
Property Value
UserRole
Declaration
public DbSet<UserRole> UserRole { get; set; }
Property Value
WMOrganization
Declaration
public DbSet<WMOrganization> WMOrganization { get; set; }
Property Value
WMUserDTO
Declaration
public DbSet<WMUserDTO> WMUserDTO { get; set; }
Property Value
Methods
Create()
Create a new instance of an AuthDbContext.
Declaration
public static AuthDbContext Create()
Returns
OnModelCreating(ModelBuilder)
Map the .NET model classes to relational tables.
Declaration
protected override void OnModelCreating(ModelBuilder modelBuilder)
Parameters
Overrides
Implements