MetaTable.GetQuery Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the IQueryable instance for the entity type that represents the table.
Overloads
GetQuery() |
Returns the IQueryable instance for the entity type that represents the table. |
GetQuery(Object) |
Returns the IQueryable instance for the entity type that represents the table by using the data context. |
GetQuery()
Returns the IQueryable instance for the entity type that represents the table.
public:
System::Linq::IQueryable ^ GetQuery();
public:
virtual System::Linq::IQueryable ^ GetQuery();
public System.Linq.IQueryable GetQuery ();
member this.GetQuery : unit -> System.Linq.IQueryable
abstract member GetQuery : unit -> System.Linq.IQueryable
override this.GetQuery : unit -> System.Linq.IQueryable
Public Function GetQuery () As IQueryable
Returns
The IQueryable instance for the entity type.
Applies to
GetQuery(Object)
Returns the IQueryable instance for the entity type that represents the table by using the data context.
public:
System::Linq::IQueryable ^ GetQuery(System::Object ^ context);
public:
virtual System::Linq::IQueryable ^ GetQuery(System::Object ^ context);
public System.Linq.IQueryable GetQuery (object context);
public virtual System.Linq.IQueryable GetQuery (object context);
member this.GetQuery : obj -> System.Linq.IQueryable
abstract member GetQuery : obj -> System.Linq.IQueryable
override this.GetQuery : obj -> System.Linq.IQueryable
Public Function GetQuery (context As Object) As IQueryable
Public Overridable Function GetQuery (context As Object) As IQueryable
Parameters
Returns
The IQueryable instance for the entity type that represents the table in the data context.
Remarks
If the context
parameter is null
, this method creates a new context by calling the MetaTable.CreateContext method.