RelationalTypeMapperExtensions Class

Definition

Caution

Use IRelationalTypeMappingSource instead.

Extension methods for the IRelationalTypeMapper class.

public static class RelationalTypeMapperExtensions
[System.Obsolete("Use IRelationalTypeMappingSource instead.")]
public static class RelationalTypeMapperExtensions
type RelationalTypeMapperExtensions = class
[<System.Obsolete("Use IRelationalTypeMappingSource instead.")>]
type RelationalTypeMapperExtensions = class
Public Module RelationalTypeMapperExtensions
Inheritance
RelationalTypeMapperExtensions
Attributes

Methods

GetMapping(IRelationalTypeMapper, IProperty)
Obsolete.

Gets the relational database type for a given property, throwing if no mapping is found.

GetMapping(IRelationalTypeMapper, String)
Obsolete.

Gets the mapping that represents the given database type, throwing if no mapping is found.

Note that sometimes the same store type can have different mappings; this method returns the default.

GetMapping(IRelationalTypeMapper, Type)
Obsolete.

Gets the relational database type for a given .NET type, throwing if no mapping is found.

GetMappingForValue(IRelationalTypeMapper, Object)
Obsolete.

Gets the relational database type for a given object, throwing if no mapping is found.

IsTypeMapped(IRelationalTypeMapper, Type)

Gets a value indicating whether the given .NET type is mapped.

Applies to