Skip to main content

PivotGridExtension.BindToEF(Type, String) Method

Binds the PivotGridExtension 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
)

#Parameters

Name Type Description
contextType Type

A Type specifying the DataContext type.

tableName String

A String object specifying the table name.

#Returns

Type Description
PivotGridExtension

A PivotGridExtension object representing the PivotGrid extension.

See Also