PivotGridExtension.BindToEF(Type, String, EventHandler<LinqServerModeDataSourceSelectEventArgs>) Method
In This Article
Binds the PivotGrid to a data source via the Entity Framework in database server mode.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.2.dll
NuGet Package: DevExpress.Web.Mvc5
#Declaration
public PivotGridExtension BindToEF(
Type contextType,
string tableName,
EventHandler<LinqServerModeDataSourceSelectEventArgs> selectingMethod
)
#Parameters
Name | Type | Description |
---|---|---|
context |
Type | A Type specifying the Data |
table |
String | A String object specifying the table name. |
selecting |
Event |
#Returns
Type | Description |
---|---|
Pivot |
A Pivot |
See Also