Redigera

Dela via


MetaTable.GetQuery Method

Definition

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

context
Object

The context of the MetaTable object.

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.

Applies to