DbExpression.ResultType 属性

[本页针对的是实体框架版本 6。最新版本以“实体框架”NuGet 包的形式提供。有关实体框架的更多信息,请参见 msdn.com/data/ef。]

获取表达式的结果类型的类型元数据。

命名空间:  System.Data.Entity.Core.Common.CommandTrees
程序集:  EntityFramework(在 EntityFramework.dll 中)

语法

声明
Public Overridable ReadOnly Property ResultType As TypeUsage 
    Get
用法
Dim instance As DbExpression 
Dim value As TypeUsage 

value = instance.ResultType
public virtual TypeUsage ResultType { get; }
public:
virtual property TypeUsage^ ResultType {
    TypeUsage^ get ();
}
abstract ResultType : TypeUsage 
override ResultType : TypeUsage
function get ResultType () : TypeUsage

属性值

类型:System.Data.Entity.Core.Metadata.Edm.TypeUsage
表达式的结果类型的类型元数据。

请参阅

参考

DbExpression 类

System.Data.Entity.Core.Common.CommandTrees 命名空间