Class WMAppDbContext
Entity Framework DB Context for the application model.
Note that this excludes data access required to implement the application security model,
as this may be handled by an external service. See the Quantellia.WMServer.Auth
namespace for further details.
Inheritance
WMAppDbContext
Assembly: WMServer.dll
Syntax
public class WMAppDbContext : DbContext, IInfrastructure<IServiceProvider>, IDbContextDependencies, IDbSetCache, IDbContextPoolable, IResettableService, IDisposable, IAsyncDisposable
Constructors
WMAppDbContext(DbContextOptions<WMAppDbContext>)
Declaration
public WMAppDbContext(DbContextOptions<WMAppDbContext> options)
Parameters
Properties
DcesionModel
Declaration
public DbSet<DecisionModelDTO> DcesionModel { get; set; }
Property Value
DecisionModelElementDTO
Declaration
public DbSet<DecisionModelElementDTO> DecisionModelElementDTO { get; set; }
Property Value
ElementRole
Declaration
public DbSet<ElementRole> ElementRole { get; set; }
Property Value
EvaluationDTO
Declaration
public DbSet<EvaluationDTO> EvaluationDTO { get; set; }
Property Value
Methods
Create()
Create a new instance of a WMAppDbContext.
Declaration
public static WMAppDbContext Create()
Returns
OnModelCreating(ModelBuilder)
Map the .NET model classes to relational tables.
Declaration
protected override void OnModelCreating(ModelBuilder modelBuilder)
Parameters
Overrides
Implements