-
-
Notifications
You must be signed in to change notification settings - Fork 44
iw4madminapplicationfactories DatabaseContextFactory
RaidMax edited this page May 21, 2023
·
1 revision
implementation of the IDatabaseContextFactory interface
flowchart LR
classDef interfaceStyle stroke-dasharray: 5 5;
classDef abstractStyle stroke-width:4px
subgraph IW4MAdmin.Application.Factories
IW4MAdmin.Application.Factories.DatabaseContextFactory[[DatabaseContextFactory]]
end
subgraph Data.Abstractions
Data.Abstractions.IDatabaseContextFactory[[IDatabaseContextFactory]]
class Data.Abstractions.IDatabaseContextFactory interfaceStyle;
end
Data.Abstractions.IDatabaseContextFactory --> IW4MAdmin.Application.Factories.DatabaseContextFactory
Returns | Name |
---|---|
DatabaseContext |
CreateContext (Nullable <bool > enableTracking) |
implementation of the IDatabaseContextFactory interface
public DatabaseContextFactory(ApplicationConfiguration appConfig, DbContextOptions contextOptions)
Type | Name | Description |
---|---|---|
ApplicationConfiguration |
appConfig | |
DbContextOptions |
contextOptions |
public virtual DatabaseContext CreateContext(Nullable<bool> enableTracking)
Type | Name | Description |
---|---|---|
Nullable <bool > |
enableTracking |
Generated with ModularDoc