Interface ITypeMappingProvider
Service to map database type to .net type with DataType hint.
public interface ITypeMappingProvider
- Extension Methods
Methods
GetTypeMapping(DatabaseType)
Returns mapping information for specific database type: .net type and optionally DataType hint enum.
TypeMapping? GetTypeMapping(DatabaseType databaseType)
Parameters
databaseType
DatabaseTypeDatabase type.
Returns
- TypeMapping
Mapping to .net type or
null
, if no mapping defined for specified database type.