SqlConstantExpression(ConstantExpression, RelationalTypeMapping) Constructor

Definition

Creates a new instance of the SqlConstantExpression class.

public SqlConstantExpression (System.Linq.Expressions.ConstantExpression constantExpression, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping typeMapping);
public SqlConstantExpression (System.Linq.Expressions.ConstantExpression constantExpression, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping? typeMapping);
new Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlConstantExpression : System.Linq.Expressions.ConstantExpression * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlConstantExpression
Public Sub New (constantExpression As ConstantExpression, typeMapping As RelationalTypeMapping)

Parameters

constantExpression
ConstantExpression

A ConstantExpression.

typeMapping
RelationalTypeMapping

The RelationalTypeMapping associated with the expression.

Applies to