Skip to main content

PivotGridExtension.BindToLINQ(String, String, EventHandler<LinqServerModeDataSourceSelectEventArgs>) Method

Binds the PivotGrid to a queryable source in database server mode.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.2.dll

Declaration

public PivotGridExtension BindToLINQ(
    string contextTypeName,
    string tableName,
    EventHandler<LinqServerModeDataSourceSelectEventArgs> selectingMethod
)

Parameters

Name Type Description
contextTypeName String

A string representing the DataContext type name.

tableName String

A string specifying the table name.

selectingMethod EventHandler<LinqServerModeDataSourceSelectEventArgs>

Returns

Type Description
PivotGridExtension

A PivotGridExtension object representing the PivotGrid extension.

See Also