Skip to main content

GridLookupExtension.BindToEF(String, String) Method

Binds the GridLookup’s grid to a data source via the Entity Framework in database server mode.

Namespace: DevExpress.Web.Mvc

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

NuGet Package: DevExpress.Web.Mvc5

Declaration

public GridLookupExtension BindToEF(
    string contextTypeName,
    string tableName
)

Parameters

Name Type Description
contextTypeName String

A String object representing the DataContext type name.

tableName String

A String object specifying the table name.

Returns

Type Description
GridLookupExtension

A GridLookupExtension object representing the GridLookup extension.

See Also