Прочетете на английски Редактиране

Споделяне чрез


DbExpressionBuilder.Element(DbExpression) Method

Definition

Creates a new DbElementExpression that converts a set into a singleton.

C#
public static System.Data.Common.CommandTrees.DbElementExpression Element(this System.Data.Common.CommandTrees.DbExpression argument);

Parameters

argument
DbExpression

An expression that specifies the input set.

Returns

A DbElementExpression that represents the conversion of the set argument to a singleton.

Exceptions

argument is null.

argument does not have a collection result type.

Applies to

Продукт Версии
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1