DbExpressionBuilder.GetEntityRef(DbExpression) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new DbEntityRefExpression that retrieves the ref of the specified entity in structural form.
public:
[System::Runtime::CompilerServices::Extension]
static System::Data::Common::CommandTrees::DbEntityRefExpression ^ GetEntityRef(System::Data::Common::CommandTrees::DbExpression ^ argument);
public static System.Data.Common.CommandTrees.DbEntityRefExpression GetEntityRef (this System.Data.Common.CommandTrees.DbExpression argument);
static member GetEntityRef : System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbEntityRefExpression
<Extension()>
Public Function GetEntityRef (argument As DbExpression) As DbEntityRefExpression
Parameters
- argument
- DbExpression
The expression that provides the entity. This expression must have an entity result type.
Returns
A new DbEntityRefExpression that retrieves a reference to the specified entity.
Exceptions
argument
is null.
argument
does not have an entity result type.
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.