KlusterKite  0.0.0
A framework to create scalable and redundant services based on awesome Akka.Net project.
KlusterKite.NodeManager.ConfigurationSource.ConfigurationContext Class Reference

Configuration database context More...

Inheritance diagram for KlusterKite.NodeManager.ConfigurationSource.ConfigurationContext:

Public Member Functions

 ConfigurationContext (DbContextOptions< ConfigurationContext > options)
 Initializes a new instance of the ConfigurationContext class. More...
 
 ConfigurationContext ()
 Initializes a new instance of the ConfigurationContext class. More...
 

Protected Member Functions

override void OnModelCreating (ModelBuilder modelBuilder)
 

Properties

DbSet< MigrationMigrations [get, set]
 Gets or sets the list of migrations More...
 
DbSet< UserUsers [get, set]
 Gets or sets the list of web API users More...
 
DbSet< RoleRoles [get, set]
 Gets or sets the list of web API user roles More...
 
DbSet< RoleUserRoleUsers [get, set]
 Gets or sets the list of role to user links More...
 
DbSet< ConfigurationConfigurations [get, set]
 Gets or sets the list of configurations More...
 
DbSet< MigrationLogRecordMigrationLogs [get, set]
 Gets or sets the global resource migration log More...
 

Detailed Description

Configuration database context

Definition at line 21 of file ConfigurationContext.cs.

Constructor & Destructor Documentation

◆ ConfigurationContext() [1/2]

KlusterKite.NodeManager.ConfigurationSource.ConfigurationContext.ConfigurationContext ( DbContextOptions< ConfigurationContext options)

Initializes a new instance of the ConfigurationContext class.

Parameters
optionsThe context options.

Definition at line 29 of file ConfigurationContext.cs.

◆ ConfigurationContext() [2/2]

KlusterKite.NodeManager.ConfigurationSource.ConfigurationContext.ConfigurationContext ( )

Initializes a new instance of the ConfigurationContext class.

Definition at line 37 of file ConfigurationContext.cs.

Member Function Documentation

◆ OnModelCreating()

override void KlusterKite.NodeManager.ConfigurationSource.ConfigurationContext.OnModelCreating ( ModelBuilder  modelBuilder)
protected

Definition at line 78 of file ConfigurationContext.cs.

Property Documentation

◆ Configurations

DbSet<Configuration> KlusterKite.NodeManager.ConfigurationSource.ConfigurationContext.Configurations
getset

Gets or sets the list of configurations

Definition at line 69 of file ConfigurationContext.cs.

◆ MigrationLogs

DbSet<MigrationLogRecord> KlusterKite.NodeManager.ConfigurationSource.ConfigurationContext.MigrationLogs
getset

Gets or sets the global resource migration log

Definition at line 75 of file ConfigurationContext.cs.

◆ Migrations

DbSet<Migration> KlusterKite.NodeManager.ConfigurationSource.ConfigurationContext.Migrations
getset

Gets or sets the list of migrations

Definition at line 45 of file ConfigurationContext.cs.

◆ Roles

DbSet<Role> KlusterKite.NodeManager.ConfigurationSource.ConfigurationContext.Roles
getset

Gets or sets the list of web API user roles

Definition at line 57 of file ConfigurationContext.cs.

◆ RoleUsers

DbSet<RoleUser> KlusterKite.NodeManager.ConfigurationSource.ConfigurationContext.RoleUsers
getset

Gets or sets the list of role to user links

Definition at line 63 of file ConfigurationContext.cs.

◆ Users

DbSet<User> KlusterKite.NodeManager.ConfigurationSource.ConfigurationContext.Users
getset

Gets or sets the list of web API users

Definition at line 51 of file ConfigurationContext.cs.


The documentation for this class was generated from the following file: