DbExpressionBuilder.GetRefKey(DbExpression) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
创建一个新 DbRefKeyExpression 值,以结构形式检索指定引用的键值。
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
参数
- argument
- DbExpression
提供引用的表达式。 此表达式必须具有具有 Entity 元素类型的引用类型。
返回
一个新的 DbRefKeyExpression,用于检索指定引用的键值。
例外
argument 为 null。
argument 没有引用结果类型。