GridLookupExtension.BindToEF(Type, 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.v20.1.dll

Declaration

public GridLookupExtension BindToEF(
    Type contextType,
    string tableName
)
Public Function BindToEF(
    contextType As Type,
    tableName As String
) As GridLookupExtension

Parameters

Name Type Description
contextType Type

A Type specifying the DataContext type.

tableName String

A String object specifying the table name.

Returns

Type Description
GridLookupExtension

A GridLookupExtension object representing the GridLookup extension.

See Also