语言

DbExpressionBuilder.Element(DbExpression) 方法

定义

创建将集转换为单一实例的新 DbElementExpression 项。

public static System.Data.Entity.Core.Common.CommandTrees.DbElementExpression Element(this System.Data.Entity.Core.Common.CommandTrees.DbExpression argument);
static member Element : System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbElementExpression
<Extension()>
Public Function Element (argument As DbExpression) As DbElementExpression

参数

argument
DbExpression

一个指定输入集的表达式。

返回

一个 DbElementExpression,表示将 set 参数转换为单一实例。

例外

参数为 null。

参数没有集合结果类型。

适用于