Table of Contents

Namespace Microsoft.EntityFrameworkCore.Storage

Classes

BoolTypeMapping

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

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

ByteArrayTypeMapping

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

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

ByteTypeMapping

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

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

CharTypeMapping

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

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

DateOnlyTypeMapping

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

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

DateTimeOffsetTypeMapping

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

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

DateTimeTypeMapping

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

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

DbContextTransactionExtensions

Extension methods for Microsoft.EntityFrameworkCore.Storage.IDbContextTransaction.

DecimalTypeMapping

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

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

DoubleTypeMapping

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

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

FloatTypeMapping

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

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

GuidTypeMapping

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

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

IntTypeMapping

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

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

JsonTypeMapping

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

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

LongTypeMapping

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

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

ParameterNameGenerator

Generates unique names for parameters.

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

ParameterNameGeneratorDependencies

Service dependencies parameter class for ParameterNameGeneratorFactory

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

ParameterNameGeneratorFactory

Creates instances of the ParameterNameGenerator type.

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

RawSqlCommand

Represents a raw SQL command to be executed against a relational database.

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

ReaderColumn

An expected column in the relational data reader.

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

ReaderColumn<T>

An expected column in the relational data reader.

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

RelationalCommand

A command to be executed against a relational database.

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

RelationalCommandBuilder
RelationalCommandBuilderDependencies

Service dependencies parameter class for RelationalCommandBuilder

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

RelationalCommandBuilderExtensions

Extension methods for the IRelationalCommandBuilder class.

RelationalCommandBuilderFactory

Factory for RelationalCommandBuilder instances.

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

RelationalConnection

Represents a connection with a relational database.

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

RelationalConnectionDependencies

Service dependencies parameter class for RelationalConnection

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

RelationalDataReader

Reads result sets from a relational database.

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

RelationalDatabase

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.

RelationalDatabaseCreator

Performs database/schema creation, and other related operations.

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

RelationalDatabaseCreatorDependencies

Service dependencies parameter class for RelationalDatabaseCreator

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

RelationalDatabaseDependencies

Service dependencies parameter class for RelationalDatabase

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

RelationalExecutionStrategyExtensions

Extension methods for Microsoft.EntityFrameworkCore.Storage.IExecutionStrategy that can only be used with a relational database provider.

RelationalExecutionStrategyFactory

Factory for creating Microsoft.EntityFrameworkCore.Storage.IExecutionStrategy instances for use with relational database providers.

RelationalGeometryTypeMapping<TGeometry, TProvider>

Base class for relation type mappings to NTS Geometry and derived types.

RelationalSqlGenerationHelper

Provides services to help with generation of SQL commands.

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

RelationalSqlGenerationHelperDependencies

Service dependencies parameter class for RelationalSqlGenerationHelper

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

RelationalTransaction

A transaction against the database.

RelationalTransactionFactory

A factory for creating RelationalTransaction instances.

This type is typically used by database providers. It is generally not used in application code.

RelationalTransactionFactoryDependencies

Service dependencies parameter class for RelationalTransactionFactory.

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

RelationalTypeMapping

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.

RelationalTypeMappingSource

The base class for relational type mapping source. Relational providers should derive from this class and override FindMapping(in RelationalTypeMappingInfo)

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

RelationalTypeMappingSourceDependencies

Service dependencies parameter class for RelationalTypeMappingSource

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

RelationalTypeMappingSourceExtensions

Extension methods for the IRelationalTypeMappingSource class.

SByteTypeMapping

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

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

ShortTypeMapping

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

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

StringTypeMapping

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

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

TimeOnlyTypeMapping

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

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

TimeSpanTypeMapping

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

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

TypeMaterializationInfo

Associates a RelationalTypeMapping with an optional Microsoft.EntityFrameworkCore.Metadata.IProperty and an index into the data reader for use when reading and converting values from the database.

UIntTypeMapping

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

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

ULongTypeMapping

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

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

UShortTypeMapping

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

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

Structs

RelationalCommandParameterObject

A parameter object for the execution methods on RelationalCommand.

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

RelationalTypeMapping.RelationalTypeMappingParameters

Parameter object for use in the RelationalTypeMapping hierarchy.

RelationalTypeMappingInfo

Describes metadata needed to decide on a relational type mapping for a property, type, or provider-specific relational type name.

Interfaces

IParameterNameGeneratorFactory

Creates instances of ParameterNameGenerator.

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

IRawSqlCommandBuilder

Creates commands based on raw SQL command text.

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

IRelationalCommand

A command to be executed against a relational database.

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

IRelationalCommandBuilder

Builds a command to be executed against a relational database.

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

IRelationalCommandBuilderFactory

Creates instances of the IRelationalCommandBuilder class.

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

IRelationalCommandTemplate

A command template to populate an IRelationalCommand or create a DbCommand

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

IRelationalConnection

Represents a connection with a relational database.

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

IRelationalDatabaseCreator

Performs database/schema creation, and other related operations.

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

IRelationalDatabaseFacadeDependencies

Exposes dependencies needed by Microsoft.EntityFrameworkCore.Infrastructure.DatabaseFacade and its relational extension methods.

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

IRelationalParameter

A parameter in an IRelationalCommand. Note that this interface just represents a placeholder for a parameter and not the actual value. This is because the same command can be reused multiple times with different parameter values.

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

IRelationalTransactionFactory

A factory for creating RelationalTransaction instances.

This type is typically used by database providers It is generally not used in application code.

IRelationalTransactionManager

Creates and manages the current transaction for a relational database.

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

IRelationalTypeMappingSource

The relational 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 RelationalTypeMappingSource.

IRelationalTypeMappingSourcePlugin

Represents a plugin relational type mapping source.

ISqlGenerationHelper

Provides services to help with generation of SQL commands.

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

Enums

StoreTypePostfix

Indicates which values should be appended to the store type name.