DbContextServices DbContextServices Class

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 class DbContextServices : IDbContextServices
Public Class DbContextServices
    Implements IDbContextServices
Inheritance
System.ObjectSystem.Object
DbContextServicesDbContextServices
Implements

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.

public virtual IDbContextOptions ContextOptions { get; }
Public Overridable 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.

public virtual ICurrentDbContext CurrentContext { get; }
Public Overridable 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.

public virtual IDatabaseProviderServices DatabaseProviderServices { get; }
Public Overridable 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.

public virtual IServiceProvider InternalServiceProvider { get; }
Public Overridable 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.

public virtual ILoggerFactory LoggerFactory { get; }
Public Overridable 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.

public virtual IMemoryCache MemoryCache { get; }
Public Overridable 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.

public virtual IModel Model { get; }
Public Overridable ReadOnly Property Model As IModel
Value
IModel IModel

Methods

Equals(Object) Equals(Object)

Inherited from System.Object

Equals(Object, Object) Equals(Object, Object)

Inherited from System.Object

GetHashCode() GetHashCode()

Inherited from System.Object

GetType() GetType()

Inherited from System.Object

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.

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

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

ReferenceEquals(Object, Object) ReferenceEquals(Object, Object)

Inherited from System.Object

ToString() ToString()

Inherited from System.Object