Name
DataTableMappingCollection
Synopsis
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 ...
Get ADO.NET in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.