A newer version of this page is available. Switch to the current version.

ComboBoxExtension.BindToEF Method

Name Parameters Description
BindToEF(String, String) contextTypeName, tableName Binds the combo box to a data source using the Entity Framework in database server mode.
BindToEF(String, String, EventHandler<LinqServerModeDataSourceSelectEventArgs>) contextTypeName, tableName, selectingMethod Binds the combo box to a data source using the Entity Framework in database server mode.
BindToEF(String, String, EventHandler<LinqServerModeDataSourceSelectEventArgs>, EventHandler<ServerModeExceptionThrownEventArgs>) contextTypeName, tableName, selectingMethod, exceptionThrownMethod Binds the combo box to a data source using the Entity Framework in database server mode.
BindToEF(Type, String) contextType, tableName Binds the combo box to a data source using the Entity Framework in database server mode.
BindToEF(Type, String, EventHandler<LinqServerModeDataSourceSelectEventArgs>) contextType, tableName, selectingMethod Binds the combo box to a data source using the Entity Framework in database server mode.