BindingListExtensions
Overview
The BindingListExtensions class represents a static class with extension methods for IEnumerable<T>
.
These extension methods can be used to convert IEnumerable<T>
to DABindingList, which provides a generic collection that supports data binding.
The following example demonstrates the use of this class:
var lQuery = from emp in linqRemoteDataAdapter.GetTable<Worker>()
select emp;
grid.DataSource = lQuery.ToDABindingList();
Location
- Reference: RemObjects.DataAbstract.dll
- Namespace: RemObjects.DataAbstract.Linq
Instance Methods
FillDABindingList<T>
method FillDABindingList<T>(bindingList: IDABindingList)
void FillDABindingList<T>(IDABindingList bindingList)
Sub FillDABindingList<T>(bindingList As IDABindingList)
Parameters:
- bindingList:
ToDABindingList<T>
method ToDABindingList<T>: DABindingList<T>
DABindingList<T> ToDABindingList<T>()
Function ToDABindingList<T> As DABindingList<T>