DbExpressionBuilder.Element(DbExpression) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
创建一个新的 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,表示从集参数到单一实例的转换。
例外
参数为 null。
参数没有集合结果类型。