I​Db​Context​Services I​Db​Context​Services Interface

Definition

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public interface IDbContextServicesPublic Interface IDbContextServices

Properties

ContextOptions ContextOptions

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

IDbContextOptions ContextOptions { get; }ReadOnly Property ContextOptions As IDbContextOptions

CurrentContext CurrentContext

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

ICurrentDbContext CurrentContext { get; }ReadOnly Property CurrentContext As ICurrentDbContext

DatabaseProviderServices DatabaseProviderServices

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

IDatabaseProviderServices DatabaseProviderServices { get; }ReadOnly Property DatabaseProviderServices As IDatabaseProviderServices

InternalServiceProvider InternalServiceProvider

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

IServiceProvider InternalServiceProvider { get; }ReadOnly Property InternalServiceProvider As IServiceProvider
Value
System.IServiceProvider System.IServiceProvider

LoggerFactory LoggerFactory

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

ILoggerFactory LoggerFactory { get; }ReadOnly Property LoggerFactory As ILoggerFactory
Value
ILoggerFactory ILoggerFactory

MemoryCache MemoryCache

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

IMemoryCache MemoryCache { get; }ReadOnly Property MemoryCache As IMemoryCache
Value
IMemoryCache IMemoryCache

Model Model

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

IModel Model { get; }ReadOnly Property Model As IModel
Value
IModel IModel

Methods

Initialize(IServiceProvider, IDbContextOptions, DbContext) Initialize(IServiceProvider, IDbContextOptions, DbContext)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

IDbContextServices Initialize(IServiceProvider scopedProvider, IDbContextOptions contextOptions, DbContext context)Function Initialize(scopedProvider As IServiceProvider, contextOptions As IDbContextOptions, context As DbContext) As IDbContextServices
Parameters
scopedProvider
System.IServiceProvider System.IServiceProvider
Returns