April 2003
Beginner to intermediate
620 pages
21h 48m
English
DataTableMappingCollection
This class contains a collection of
DataTableMapping objects for the collection
exposed by the DataAdapter.TableMappings property.
You can access DataTableMapping by index or data
source table name using the indexer. You can also use the
GetByDataSetTable( ) to retrieve a
DataTableMapping using the
System.Data.DataSet name.
public sealed class DataTableMappingCollection : MarshalByRefObject, System.Data.ITableMappingCollection, IList, ICollection, IEnumerable { // Public Constructors public DataTableMappingCollection( ); // Public Instance Properties public int Count{get; } // implements ICollection public DataTableMapping this[stringsourceTable]{set; get; } public DataTableMapping this[intindex]{set; get; } // Public Static Methods public static DataTableMapping GetTableMappingBySchemaAction(DataTableMappingCollectiontableMappings, stringsourceTable, stringdataSetTable, System.Data.MissingMappingActionmappingAction); // Public Instance Methods public DataTableMapping Add(stringsourceTable, stringdataSetTable); public int Add(objectvalue); // implements IList public void AddRange(DataTableMapping[ ]values); public void Clear( ); // implements IList public bool Contains(objectvalue); // implements IList public bool Contains(stringvalue); // implements System.Data.ITableMappingCollection public void CopyTo(Arrayarray, intindex); // implements ICollection public DataTableMapping GetByDataSetTable( stringdataSetTable); public IEnumerator ...
Read now
Unlock full access