This documentation is archived and is not being maintained.

DataTableMappingCollection Methods

The DataTableMappingCollection type exposes the following members.

  NameDescription
Public method Add(Object) Adds an Object that is a table mapping to the collection.
Public method Add(String, String) Adds a DataTableMapping object to the collection when given a source table name and a DataSet table name.
Public method AddRange(Array) Copies the elements of the specified Array to the end of the collection.
Public method AddRange(DataTableMapping[]) Copies the elements of the specified DataTableMapping array to the end of the collection.
Public method Clear Removes all DataTableMapping objects from the collection.
Public method Contains(Object) Gets a value indicating whether the given DataTableMapping object exists in the collection.
Public method Contains(String) Gets a value indicating whether a DataTableMapping object with the specified source table name exists in the collection.
Public method CopyTo(Array, Int32) Copies the elements of the DataTableMappingCollection to the specified array.
Public method CopyTo(DataTableMapping[], Int32) Copies the elements of the DataTableMapping to the specified array.
Public method CreateObjRef Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetByDataSetTable Gets the DataTableMapping object with the specified DataSet table name.
Public method GetEnumerator Gets an enumerator that can iterate through the collection.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetLifetimeService Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method Static member GetTableMappingBySchemaAction Gets a DataColumnMapping object with the specified source table name and DataSet table name, using the given MissingMappingAction.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method IndexOf(Object) Gets the location of the specified DataTableMapping object within the collection.
Public method IndexOf(String) Gets the location of the DataTableMapping object with the specified source table name.
Public method IndexOfDataSetTable Gets the location of the DataTableMapping object with the specified DataSet table name.
Public method InitializeLifetimeService Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method Insert(Int32, DataTableMapping) Inserts a DataTableMapping object into the DataTableMappingCollection at the specified index.
Public method Insert(Int32, Object) Inserts a DataTableMapping object into the DataTableMappingCollection at the specified index.
Protected method MemberwiseClone() Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method MemberwiseClone(Boolean) Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.)
Public method Remove(DataTableMapping) Removes the specified DataTableMapping object from the collection.
Public method Remove(Object) Removes the specified DataTableMapping object from the collection.
Public method RemoveAt(Int32) Removes the DataTableMapping object located at the specified index from the collection.
Public method RemoveAt(String) Removes the DataTableMapping object with the specified source table name from the collection.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public Extension Method AsParallel Enables parallelization of a query. (Defined by ParallelEnumerable.)
Public Extension Method AsQueryable Converts an IEnumerable to an IQueryable. (Defined by Queryable.)
Public Extension Method Cast<TResult> Casts the elements of an IEnumerable to the specified type. (Defined by Enumerable.)
Public Extension Method OfType<TResult> Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.)
Top

  NameDescription
Explicit interface implemetation Private method ITableMappingCollection.Add Adds a table mapping to the collection.
Explicit interface implemetation Private method ITableMappingCollection.GetByDataSetTable Gets the TableMapping object with the specified DataSet table name.
Top
Show: