RelationalTypeMappingSourceExtensions Class

Definition

Extension methods for the IRelationalTypeMappingSource class.

public static class RelationalTypeMappingSourceExtensions
type RelationalTypeMappingSourceExtensions = class
Public Module RelationalTypeMappingSourceExtensions
Inheritance
RelationalTypeMappingSourceExtensions

Remarks

See Implementation of database providers and extensions for more information and examples.

Methods

GetMapping(IRelationalTypeMappingSource, IProperty)

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

GetMapping(IRelationalTypeMappingSource, String)

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

GetMapping(IRelationalTypeMappingSource, Type)

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

GetMapping(IRelationalTypeMappingSource, Type, IModel)

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

GetMappingForValue(IRelationalTypeMappingSource, Object)

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

GetMappingForValue(IRelationalTypeMappingSource, Object, IModel)

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

Applies to