ObjectQuery::GetResultType Method ()
.NET Framework (current version)
Returns information about the result type of the query.
Assembly: System.Data.Entity (in System.Data.Entity.dll)
This example is based on the AdventureWorks Sales Model. The example creates an ObjectQuery<T> of type DbDataRecord and uses GetResultType to determine whether the type returned represents a row.
.NET Framework
Available since 3.5
Available since 3.5
ObjectQuery Class
System.Data.Objects Namespace
Managing Connections in Object Services (Entity Framework)
ADO.NET Metadata
Show: