Skip to content

iw4madminapplicationfactories DatabaseContextFactory

RaidMax edited this page May 21, 2023 · 1 revision

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
Loading

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

Clone this wiki locally