This documentation is archived and is not being maintained.

MetaTable::GetQuery Method (Object)

Returns the System.Linq::IQueryable instance for the entity type that represents the table by using the data context.

Namespace:  System.Web.DynamicData
Assembly:  System.Web.DynamicData (in System.Web.DynamicData.dll)

public:
virtual IQueryable^ GetQuery(
	Object^ context
)

Parameters

context
Type: System::Object
The context of the System.Web.DynamicData::MetaTable object.

Return Value

Type: System.Linq::IQueryable
The IQueryable instance for the entity type that represents the table in the data context.

If the context parameter is nullptr, this method creates a new context by calling the MetaTable::CreateContext method.

.NET Framework

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: