DbExpressionBuilder.GetRefKey(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 DbRefKeyExpression that retrieves the key values of the specified reference in structural form.
public:
[System::Runtime::CompilerServices::Extension]
static System::Data::Common::CommandTrees::DbRefKeyExpression ^ GetRefKey(System::Data::Common::CommandTrees::DbExpression ^ argument);
public static System.Data.Common.CommandTrees.DbRefKeyExpression GetRefKey (this System.Data.Common.CommandTrees.DbExpression argument);
static member GetRefKey : System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbRefKeyExpression
<Extension()>
Public Function GetRefKey (argument As DbExpression) As DbRefKeyExpression
Parameters
- argument
- DbExpression
The expression that provides the reference. This expression must have a reference Type with an Entity element type.
Returns
A new DbRefKeyExpression that retrieves the key values of the specified reference.
Exceptions
argument
is null.
argument
does not have a reference result type.
Applies to
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.