DbExpressionBuilder.GetRefKey(DbExpression) 方法

定义

创建一个以结构形式检索指定引用的键值的新 DbRefKeyExpression

public static System.Data.Entity.Core.Common.CommandTrees.DbRefKeyExpression GetRefKey (this System.Data.Entity.Core.Common.CommandTrees.DbExpression argument);
static member GetRefKey : System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbRefKeyExpression
<Extension()>
Public Function GetRefKey (argument As DbExpression) As DbRefKeyExpression

参数

argument
DbExpression

提供引用的表达式。 此表达式的引用类型必须具有实体元素类型。

返回

新 DbRefKeyExpression 检索指定引用的键值。

例外

参数为 null。

参数没有引用结果类型。

适用于