TestRelationalTypeMapper TestRelationalTypeMapper Class

Definition

public class TestRelationalTypeMapper : RelationalTypeMapper, IRelationalTypeMapper
Public Class TestRelationalTypeMapper
    Inherits RelationalTypeMapper
    Implements IRelationalTypeMapper
Inheritance
System.ObjectSystem.Object
TestRelationalTypeMapperTestRelationalTypeMapper
Implements

Properties

ByteArrayMapper ByteArrayMapper

public override IByteArrayRelationalTypeMapper ByteArrayMapper { get; }
Public Overrides ReadOnly Property ByteArrayMapper As IByteArrayRelationalTypeMapper
Overrides

StringMapper StringMapper

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)

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

(Inherited from RelationalTypeMapper)

GetByteArrayMapping(IProperty) GetByteArrayMapping(IProperty)

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

(Inherited from RelationalTypeMapper)

GetClrTypeMappings() GetClrTypeMappings()

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)

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()

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)

Gets a value indicating whether the given property should use a database type that is suitable for key properties.

(Inherited from RelationalTypeMapper)

ToString() ToString()

Inherited from System.Object

ValidateTypeName(String) ValidateTypeName(String)

Ensures that the given type name is a valid type for the relational database. An exception is thrown if it is not a valid type.

(Inherited from RelationalTypeMapper)