1 iw4madminapplicationfactories DatabaseContextFactory
RaidMax edited this page 2023-05-20 22:09:21 -05:00

DatabaseContextFactory Public class

Description

implementation of the IDatabaseContextFactory interface

Diagram

  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

Members

Methods

Public methods

Returns Name
DatabaseContext CreateContext(Nullable<bool> enableTracking)

Details

Summary

implementation of the IDatabaseContextFactory interface

Inheritance

Constructors

DatabaseContextFactory

Source code

public DatabaseContextFactory(ApplicationConfiguration appConfig, DbContextOptions contextOptions)
Arguments
Type Name Description
ApplicationConfiguration appConfig
DbContextOptions contextOptions

Methods

CreateContext

Source code

public virtual DatabaseContext CreateContext(Nullable<bool> enableTracking)
Arguments
Type Name Description
Nullable<bool> enableTracking

Generated with ModularDoc