PivotGridExtension.BindToLINQ(Type, String, EventHandler<LinqServerModeDataSourceSelectEventArgs>) Method
Binds the PivotGrid to a queryable source in database server mode.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v25.2.dll
NuGet Package: DevExpress.Web.Mvc5
Declaration
public PivotGridExtension BindToLINQ(
Type contextType,
string tableName,
EventHandler<LinqServerModeDataSourceSelectEventArgs> selectingMethod
)
Parameters
| Name | Type | Description |
|---|---|---|
| contextType | Type | A Type specifying the DataContext type. |
| tableName | String | A string specifying the table name. |
| selectingMethod | EventHandler<LinqServerModeDataSourceSelectEventArgs> |
Returns
| Type | Description |
|---|---|
| PivotGridExtension | A PivotGridExtension object specifying the PivotGrid extension. |
See Also