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