Class CloudStorageDbContextDependencies
- Namespace
- CloudStorageORM.Infrastructure
- Assembly
- CloudStorageORM.dll
Provides EF Core DbContext dependency implementations for CloudStorageORM.
public class CloudStorageDbContextDependencies : IDbContextDependencies
- Inheritance
-
CloudStorageDbContextDependencies
- Implements
- Inherited Members
Constructors
CloudStorageDbContextDependencies(IModel, ICurrentDbContext, IChangeDetector, IDbSetSource, IEntityFinderSource, IEntityGraphAttacher, IAsyncQueryProvider, IStateManager, IExceptionDetector, IDiagnosticsLogger<Update>, IDiagnosticsLogger<Infrastructure>)
Initializes a new dependency container used by CloudStorageORM DbContext services.
public CloudStorageDbContextDependencies(IModel model, ICurrentDbContext currentContext, IChangeDetector changeDetector, IDbSetSource setSource, IEntityFinderSource entityFinderSource, IEntityGraphAttacher entityGraphAttacher, IAsyncQueryProvider queryProvider, IStateManager stateManager, IExceptionDetector exceptionDetector, IDiagnosticsLogger<DbLoggerCategory.Update> updateLogger, IDiagnosticsLogger<DbLoggerCategory.Infrastructure> infrastructureLogger)
Parameters
modelIModelResolved EF model.
currentContextICurrentDbContextCurrent DbContext accessor.
changeDetectorIChangeDetectorEF change detector.
setSourceIDbSetSourceEF DbSet source.
entityFinderSourceIEntityFinderSourceEF entity finder source.
entityGraphAttacherIEntityGraphAttacherEF entity graph attacher.
queryProviderIAsyncQueryProviderAsync query provider.
stateManagerIStateManagerEF state manager.
exceptionDetectorIExceptionDetectorEF exception detector.
updateLoggerIDiagnosticsLogger<DbLoggerCategory.Update>Update diagnostics logger.
infrastructureLoggerIDiagnosticsLogger<DbLoggerCategory.Infrastructure>Infrastructure diagnostics logger.
Examples
var dependencies = new CloudStorageDbContextDependencies(...);
Properties
ChangeDetector
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public IChangeDetector ChangeDetector { get; }
Property Value
ContextOptions
public DbContextOptions ContextOptions { get; }
Property Value
DesignTimeModel
public IModel DesignTimeModel { get; }
Property Value
EntityFinderFactory
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public IEntityFinderFactory EntityFinderFactory { get; }
Property Value
EntityGraphAttacher
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public IEntityGraphAttacher EntityGraphAttacher { get; }
Property Value
ExceptionDetector
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public IExceptionDetector ExceptionDetector { get; }
Property Value
InfrastructureLogger
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public IDiagnosticsLogger<DbLoggerCategory.Infrastructure> InfrastructureLogger { get; }
Property Value
InternalServiceProvider
public IServiceProvider InternalServiceProvider { get; }
Property Value
Model
public IModel Model { get; }
Property Value
QueryProvider
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public IAsyncQueryProvider QueryProvider { get; }
Property Value
SetSource
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public IDbSetSource SetSource { get; }
Property Value
StateManager
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public IStateManager StateManager { get; }
Property Value
TransactionManager
public IDbContextTransactionManager TransactionManager { get; }
Property Value
UpdateLogger
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public IDiagnosticsLogger<DbLoggerCategory.Update> UpdateLogger { get; }