DbExpressionBuilder.GetEntityRef(DbExpression) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
创建一个新的 DbEntityRefExpression ,用于检索结构形式的指定实体的引用。
public static System.Data.Entity.Core.Common.CommandTrees.DbEntityRefExpression GetEntityRef (this System.Data.Entity.Core.Common.CommandTrees.DbExpression argument);
static member GetEntityRef : System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbEntityRefExpression
<Extension()>
Public Function GetEntityRef (argument As DbExpression) As DbEntityRefExpression
参数
- argument
- DbExpression
提供实体的表达式。 此表达式必须具有实体结果类型。
返回
检索指定的实体的引用的新 DbEntityRefExpression。
例外
参数为 null。
参数没有实体结果类型。