DbExpressionBuilder.GetRefKey(DbExpression) Metoda
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Vytvoří novou DbRefKeyExpression , která načte klíčové hodnoty zadaného odkazu ve strukturální podobě.
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
Parametry
- argument
- DbExpression
Výraz, který poskytuje odkaz. Tento výraz musí mít typ odkazu s typem elementu Entity.
Návraty
Nový DbRefKeyExpression, který načte hodnoty klíče zadaného odkazu.
Výjimky
argument je null.
argument nemá typ výsledku odkazu.