SqlServerTypeMapper SqlServerTypeMapper 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 SqlServerTypeMapper : RelationalTypeMapper, IRelationalTypeMapper
Public Class SqlServerTypeMapper
    Inherits RelationalTypeMapper
    Implements IRelationalTypeMapper
Inheritance
System.ObjectSystem.Object
SqlServerTypeMapperSqlServerTypeMapper
Implements

Constructors

SqlServerTypeMapper() SqlServerTypeMapper()

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 SqlServerTypeMapper()
Public Sub New

Properties

ByteArrayMapper ByteArrayMapper

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 override IByteArrayRelationalTypeMapper ByteArrayMapper { get; }
Public Overrides ReadOnly Property ByteArrayMapper As IByteArrayRelationalTypeMapper
Overrides

StringMapper StringMapper

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 override IStringRelationalTypeMapper StringMapper { get; }
Public Overrides ReadOnly Property StringMapper As IStringRelationalTypeMapper
Overrides

Methods

CreateMappingFromStoreType(String) CreateMappingFromStoreType(String)

Creates the mapping for the given database type.

(Inherited from RelationalTypeMapper)

Equals(Object) Equals(Object)

Inherited from System.Object

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

Inherited from System.Object

FindCustomMapping(IProperty) FindCustomMapping(IProperty)

Gets the relational database type for the given property, using a separate type mapper if needed. This base implementation uses custom mappers for string and byte array properties. Returns null if no mapping is found.

(Inherited from RelationalTypeMapper)

FindMapping(IProperty) FindMapping(IProperty)

Gets the relational database type for the given property. Returns null if no mapping is found.

(Inherited from RelationalTypeMapper)

FindMapping(String) FindMapping(String)

Gets the mapping that represents the given database type. Returns null if no mapping is found.

(Inherited from RelationalTypeMapper)

FindMapping(Type) FindMapping(Type)

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 override RelationalTypeMapping FindMapping(Type clrType)
Public Overrides Function FindMapping(clrType As Type) As RelationalTypeMapping
Parameters
clrType
System.Type System.Type
Returns
Overrides

GetByteArrayMapping(IProperty) GetByteArrayMapping(IProperty)

Gets the relational database type for the given byte array property.

(Inherited from RelationalTypeMapper)

GetClrTypeMappings() GetClrTypeMappings()

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.

protected override IReadOnlyDictionary<Type, RelationalTypeMapping> GetClrTypeMappings()
Protected Overrides Function GetClrTypeMappings As IReadOnlyDictionary(Of Type, RelationalTypeMapping)
Returns
System.Collections.Generic.IReadOnlyDictionary<System.Type, RelationalTypeMapping> System.Collections.Generic.IReadOnlyDictionary(Of System.Type, RelationalTypeMapping)
Overrides

GetColumnType(IProperty) GetColumnType(IProperty)

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.

protected override string GetColumnType(IProperty property)
Protected Overrides Function GetColumnType(property As IProperty) As String
Parameters
property
IProperty IProperty
Returns
System.String System.String
Overrides

GetHashCode() GetHashCode()

Inherited from System.Object

GetStoreTypeMappings() GetStoreTypeMappings()

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.

protected override IReadOnlyDictionary<string, RelationalTypeMapping> GetStoreTypeMappings()
Protected Overrides Function GetStoreTypeMappings As IReadOnlyDictionary(Of String, RelationalTypeMapping)
Returns
System.Collections.Generic.IReadOnlyDictionary<System.String, RelationalTypeMapping> System.Collections.Generic.IReadOnlyDictionary(Of System.String, RelationalTypeMapping)
Overrides

GetStringMapping(IProperty) GetStringMapping(IProperty)

Gets the relational database type for the given string property.

(Inherited from RelationalTypeMapper)

GetType() GetType()

Inherited from System.Object

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

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

Inherited from System.Object

RequiresKeyMapping(IProperty) RequiresKeyMapping(IProperty)

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.

protected override bool RequiresKeyMapping(IProperty property)
Protected Overrides Function RequiresKeyMapping(property As IProperty) As Boolean
Parameters
property
IProperty IProperty
Returns
System.Boolean System.Boolean
Overrides

ToString() ToString()

Inherited from System.Object

ValidateTypeName(String) ValidateTypeName(String)

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 override void ValidateTypeName(string storeType)
Public Overrides Sub ValidateTypeName(storeType As String)
Parameters
storeType
System.String System.String
Overrides