[]
Interface that supports data binding and data relations in the data model.
public interface IDataSourceSupport
Public Interface IDataSourceSupport
Name | Description |
---|---|
AutoGenerateColumns | Gets or sets whether to generate the columns automatically based on the data source. |
DataMember | Gets or sets the data member (table name). |
DataSource | Gets or sets the data source. |
Name | Description |
---|---|
GetDataColumnFromModelColumn(int) | Converts the model column index to the data source column index. |
GetDataColumnName(int) | Gets the column name at the specified position. |
GetDataRowFromModelRow(int) | Converts the model row index to the data source row index. |
GetDataView(bool) | Gets the DataView object. |
GetModelColumnFromDataColumn(int) | Converts the data source column index to the model column index. |
GetModelRowFromDataRow(int) | Converts the data source row index to the model row index. |
IsColumnBound(int) | Determines whether the column is bound to a data source column. |
SetModelDataColumn(int, string) | Binds the model column with the data source column. |