GridViewExtension.BindToEF Method

Name Parameters Description
BindToEF(String, String) contextTypeName, tableName

Binds the GridView to a data source via the Entity Framework in database server mode.

BindToEF(String, String, EventHandler<LinqServerModeDataSourceSelectEventArgs>) contextTypeName, tableName, selectingMethod

Binds the GridView to a data source via the Entity Framework in database server mode.

BindToEF(String, String, EventHandler<LinqServerModeDataSourceSelectEventArgs>, EventHandler<ServerModeExceptionThrownEventArgs>) contextTypeName, tableName, selectingMethod, exceptionThrownMethod

Binds the GridView to a data source via the Entity Framework in database server mode.

BindToEF(Type, String) contextType, tableName

Binds the GridView to a data source via the Entity Framework in database server mode.

BindToEF(Type, String, EventHandler<LinqServerModeDataSourceSelectEventArgs>) contextType, tableName, selectingMethod

Binds the GridView to a data source via the Entity Framework in database server mode.