SqlConstantExpression(ConstantExpression, RelationalTypeMapping) 构造函数

定义

创建 SqlConstantExpression 类的新实例。

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)

参数

constantExpression
ConstantExpression

一个 ConstantExpression

typeMapping
RelationalTypeMapping

RelationalTypeMapping与表达式关联的 。

适用于