Table of Contents

Namespace Microsoft.EntityFrameworkCore.Storage

Classes

CoreTypeMapping

Represents the mapping between a .NET type and a database type.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

Database

The main interaction point between a context and the database provider.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

DatabaseDependencies

Service dependencies parameter class for Database

This type is typically used by database providers (and other extensions). It is generally not used in application code.

DatabaseProviderDependencies

Service dependencies parameter class for DatabaseProvider<TOptionsExtension>

This type is typically used by database providers (and other extensions). It is generally not used in application code.

DatabaseProvider<TOptionsExtension>

The primary point where a database provider can tell EF that it has been selected for the current context.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

ExecutionResult<TResult>

Represents the execution state of an operation.

ExecutionStrategy

The base class for IExecutionStrategy implementations.

ExecutionStrategyDependencies

Service dependencies parameter class for IExecutionStrategy

This type is typically used by database providers (and other extensions). It is generally not used in application code.

NonRetryingExecutionStrategy

An implementation of IExecutionStrategy that does no retries.

RetryLimitExceededException

The exception that is thrown when the action failed more times than the configured limit.

TypeMappingSource

The base class for non-relational type mapping. Non-relational providers should derive from this class and override

This type is typically used by database providers (and other extensions). It is generally not used in application code.

TypeMappingSourceBase

The base class for non-relational type mapping source. Non-relational providers should derive from this class and override

This type is typically used by database providers (and other extensions). It is generally not used in application code.

TypeMappingSourceDependencies

Service dependencies parameter class for TypeMappingSourceBase

This type is typically used by database providers (and other extensions). It is generally not used in application code.

Structs

CoreTypeMapping.CoreTypeMappingParameters

Parameter object for use in the CoreTypeMapping hierarchy.

MaterializationContext

Parameter object containing context needed for materialization of an entity.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

TypeMappingInfo

Describes metadata needed to decide on a type mapping for a property or type.

ValueBuffer

Represents a set of indexed values. Typically used to represent a row of data returned from a database.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

Interfaces

IDatabase

The main interaction point between a context and the database provider.

This interface is typically used by database providers (and other extensions). It is generally not used in application code.

IDatabaseCreator

Creates and deletes databases for a given database provider.

This interface is typically used by database providers (and other extensions). It is generally not used in application code.

IDatabaseFacadeDependencies

Exposes dependencies needed by DatabaseFacade.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

IDatabaseFacadeDependenciesAccessor

Provides access to IDatabaseFacadeDependencies for providers and extensions.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

IDatabaseProvider

The primary point where a database provider can tell EF that it has been selected for the current context and provide the services required for it to function.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

IDbContextTransaction

A transaction against the database.

IDbContextTransactionManager

Creates and manages the current transaction.

This interface is typically used by database providers (and other extensions). It is generally not used in application code.

IExceptionDetector

Used by EF internal code and database providers to detect various types of exceptions.

IExecutionStrategy

A strategy that is used to execute a command or query against the database, possibly with logic to retry when a failure occurs.

IExecutionStrategyFactory

Factory for IExecutionStrategy instances.

ITransactionEnlistmentManager

Manages the current Transaction.

This interface is typically used by database providers (and other extensions). It is generally not used in application code.

ITypeMappingSource

The core type mapping source. Type mappings describe how a provider maps CLR types/values to database types/values.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

Warning: do not implement this interface directly. Instead, derive from TypeMappingSourceBase for non-relational providers, or 'RelationalTypeMappingSource' for relational providers.

ITypeMappingSourcePlugin

Represents a plugin type mapping source.