SqlConstantExpression.ApplyTypeMapping(RelationalTypeMapping) Method

Definition

Applies supplied type mapping to this expression.

public virtual Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression ApplyTypeMapping (Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping typeMapping);
public virtual Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression ApplyTypeMapping (Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping? typeMapping);
abstract member ApplyTypeMapping : Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression
override this.ApplyTypeMapping : Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression
Public Overridable Function ApplyTypeMapping (typeMapping As RelationalTypeMapping) As SqlExpression

Parameters

typeMapping
RelationalTypeMapping

A relational type mapping to apply.

Returns

A new expression which has supplied type mapping.

Applies to