Table of Contents

Class SqlServerMappingSchema

Namespace
LinqToDB.Internal.DataProvider.SqlServer
Assembly
linq2db.dll
public sealed class SqlServerMappingSchema : LockedMappingSchema, IConfigurationID, IEquatable<MappingSchema>
Inheritance
SqlServerMappingSchema
Implements
Inherited Members
Extension Methods

Methods

TryGetConvertExpression(Type, Type)

Returns custom value conversion expression from from type to to type if it is defined in mapping schema, or null otherwise.

public override LambdaExpression? TryGetConvertExpression(Type from, Type to)

Parameters

from Type

Source type.

to Type

Target type.

Returns

LambdaExpression

Conversion expression or null, if conversion is not defined.