|
BcfHierarchicalViewManagerAddRootBindingSourceTBindingSource Method |
Creates and registers a new binding source.
Namespace: CalculationWorks.ViewModel.FormsAssembly: CalculationWorks.ViewModel.Forms (in CalculationWorks.ViewModel.Forms.dll) Version: 2.1.0.0
Syntax protected TBindingSource AddRootBindingSource<TBindingSource>(
string name,
string tableName,
Func<BcfBindingSourceBuilder, TBindingSource> createBindingSource
)
where TBindingSource : BcfBindingSource
Protected Function AddRootBindingSource(Of TBindingSource As BcfBindingSource) (
name As String,
tableName As String,
createBindingSource As Func(Of BcfBindingSourceBuilder, TBindingSource)
) As TBindingSource
Parameters
- name
- Type: SystemString
The name. - tableName
- Type: SystemString
Name of the table. - createBindingSource
- Type: SystemFuncBcfBindingSourceBuilder, TBindingSource
TBindingSource constructor.
Type Parameters
- TBindingSource
- The type of the binding source.
Return Value
Type:
TBindingSourceTBindingSource.
Exceptions See Also