Table of Contents

Interface ITypeMappingProvider

Namespace
LinqToDB.Schema
Assembly
linq2db.Tools.dll

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 DatabaseType

Database type.

Returns

TypeMapping

Mapping to .net type or null, if no mapping defined for specified database type.