Method SetData
| Improve this Doc View SourceSetData<TModel>(DbTable<TModel>, Func<DataSet<TModel>>)
Set data for specified table.
Declaration
protected void SetData<TModel>(DbTable<TModel> dbTable, Func<DataSet<TModel>> getDataSet)
where TModel : Model, new()
Parameters
Type | Name | Description |
---|---|---|
DbTable<TModel> | dbTable | The database table. |
System.Func<DataSet<TModel>> | getDataSet | Delegate to return the DataSet which contains the data. |
Type Parameters
Name | Description |
---|---|
TModel | Model type of the table. |