DataColumnMappingCollection |
marshal by reference |
System.Data.Common (system.data.dll) |
sealed class |
This class contains a collection of
DataColumnMapping objects and is typically used
for the DataTableMapping.ColumnMappings property.
You can look up an individual DataColumnMapping by
index or data source column name using the indexer. You can also use
the GetByDataSetColumn( ) to retrieve a
DataColumnMapping using the
System.Data.DataSet name.
public sealed class DataColumnMappingCollection : MarshalByRefObject , System.Data.IColumnMappingCollection, IList,
ICollection, IEnumerable {
// Public Constructors
public DataColumnMappingCollection( );
// Public Instance Properties
public int Count{get; } // implements ICollection
public DataColumnMapping this[string SourceColumn]{set; get; }
public DataColumnMapping this[int index]{set; get; }
// Public Static Methods
public static DataColumnMapping GetColumnMappingBySchemaAction(
DataColumnMappingCollection columnMappings, string sourceColumn,
System.Data.MissingMappingAction mappingAction);
// Public Instance Methods
public DataColumnMapping Add(string sourceColumn, string dataSetColumn);
public int Add( object value); // implements IList
public void AddRange( DataColumnMapping[ ] values);
public void Clear( ); // implements IList
public bool Contains( object value); // implements IList
public bool Contains( string value); // implements System.Data.IColumnMappingCollection
public void CopyTo( Array array, int index); // implements ICollection
public DataColumnMapping GetByDataSetColumn(string value);
public IEnumerator GetEnumerator( ); // implements IEnumerable
public int IndexOf( object value); // implements IList
public int IndexOf( string sourceColumn); // implements System.Data.IColumnMappingCollection
public int IndexOfDataSetColumn( string dataSetColumn);
public void Insert( int index, object value); // implements IList
public void Remove( object value); // implements IList
public void RemoveAt( int index); // implements IList
public void RemoveAt( string sourceColumn); // implements System.Data.IColumnMappingCollection
}
Hierarchy
System.Object
System.MarshalByRefObject DataColumnMappingCollection(System.Data.IColumnMappingCollection, System.Collections.IList
, System.Collections.ICollection
, System.Collections.IEnumerable)
Returned By
DataTableMapping.ColumnMappings
|