共用方式為


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與運算式相關聯的 。

適用於