Click or drag to resize

DataSource Class

Base class for datasources.
Inheritance Hierarchy
SystemObject
  SystemMarshalByRefObject
    System.Runtime.InteropServicesStandardOleMarshalObject
      BaseObject
        Wrapper
          Easymap.AddIn.CommonLTComponent
            Easymap.AddIn.DataDataSource
              Easymap.AddIn.DataFilteredDataSource
              Easymap.AddIn.DataTableDataSource
              Easymap.AddIn.DataViewDataSource

Namespace: Easymap.AddIn.Data
Assembly: EasyMap.AddIn (in EasyMap.AddIn.dll) Version: 12.3.0.0
Syntax
public class DataSource : LTComponent, IListSource

The DataSource type exposes the following members.

Properties
 NameDescription
Public propertyAllowEdit Gets a value indicating whether the rows are editable.
Public propertyAllowNew Gets a value indicating whether new rows can be added.
Public propertyAllowRemove Gets a value indicating whether the rows are removeable.
Public propertyColumns Gets the ColumnCollection of the datasource.
Public propertyContainsListCollection True if current datasource contains in the list.
Public propertyLTComponent Gets the associated LTComponent of the datasource.
Public propertyReadOnly Gets a value indicating whether the datasource is readonly.
Public propertyRows Gets the RowCollection of the datasource.
Top
Methods
 NameDescription
Public methodFilter Finds all rows which matches the give filter expression.
Remarks
You can find the correct filter syntax in EasyMap manual.
Public methodFilterAny Finds all rows which matches the give filter expression.
Remarks
You can find the correct filter syntax in EasyMap manual.
Public methodFind Finds the first row which value of the specified Column matches the specified value.
Public methodFindAny Finds all rows which values of the specified Column matches the specified value.
Public methodFindAnyKey Finds all rows which values of the specified Column matches the specified key.
Public methodFindKey Finds the first row which value of the specified Column matches the specified key.
Public methodGetList Gets IList of the current datasource.
Top
See Also