Export (0) Print
Expand All

DbSyncColumnMappingCollection Class

Represents a collection of DbSyncColumnMapping objects.

System.Object
  System.Collections.ObjectModel.Collection<DbSyncColumnMapping>
    Microsoft.Synchronization.Data.DbSyncColumnMappingCollection

Namespace:  Microsoft.Synchronization.Data
Assembly:  Microsoft.Synchronization.Data (in Microsoft.Synchronization.Data.dll)

public class DbSyncColumnMappingCollection : Collection<DbSyncColumnMapping>

The DbSyncColumnMappingCollection type exposes the following members.

  NameDescription
Public methodDbSyncColumnMappingCollectionInitializes a new instance of the DbSyncColumnMappingCollection class.
Top

  NameDescription
Public propertyCount (Inherited from Collection<DbSyncColumnMapping>.)
Public propertyItem (Inherited from Collection<DbSyncColumnMapping>.)
Protected propertyItems (Inherited from Collection<DbSyncColumnMapping>.)
Top

  NameDescription
Public methodAdd(T) (Inherited from Collection<DbSyncColumnMapping>.)
Public methodAdd(String, String)Adds a DbSyncColumnMapping object that has the specified local and remote column names to the end of the collection.
Public methodClear (Inherited from Collection<DbSyncColumnMapping>.)
Protected methodClearItems (Inherited from Collection<DbSyncColumnMapping>.)
Public methodContains (Inherited from Collection<DbSyncColumnMapping>.)
Public methodCopyTo (Inherited from Collection<DbSyncColumnMapping>.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetEnumerator (Inherited from Collection<DbSyncColumnMapping>.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodIndexOf (Inherited from Collection<DbSyncColumnMapping>.)
Public methodIndexOfLocalColumnSearches for a DbSyncColumnMapping object when given a local column name, and returns the zero-based index of the first occurrence within the whole collection.
Public methodIndexOfRemoteColumnSearches for a DbSyncColumnMapping object when given a remote column name, and returns the zero-based index of the first occurrence within the whole collection.
Public methodInsert (Inherited from Collection<DbSyncColumnMapping>.)
Protected methodInsertItemInserts a DbSyncColumnMapping object into the collection at the specified index. (Overrides Collection<T>.InsertItem(Int32, T).)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodRemove (Inherited from Collection<DbSyncColumnMapping>.)
Public methodRemoveAt (Inherited from Collection<DbSyncColumnMapping>.)
Protected methodRemoveItem (Inherited from Collection<DbSyncColumnMapping>.)
Protected methodSetItemReplaces the DbSyncColumnMapping object at the specified index. (Overrides Collection<T>.SetItem(Int32, T).)
Public methodToString (Inherited from Object.)
Top

  NameDescription
Explicit interface implemetationPrivate methodIList.Add (Inherited from Collection<DbSyncColumnMapping>.)
Explicit interface implemetationPrivate methodIList.Contains (Inherited from Collection<DbSyncColumnMapping>.)
Explicit interface implemetationPrivate methodICollection.CopyTo (Inherited from Collection<DbSyncColumnMapping>.)
Explicit interface implemetationPrivate methodIEnumerable.GetEnumerator (Inherited from Collection<DbSyncColumnMapping>.)
Explicit interface implemetationPrivate methodIList.IndexOf (Inherited from Collection<DbSyncColumnMapping>.)
Explicit interface implemetationPrivate methodIList.Insert (Inherited from Collection<DbSyncColumnMapping>.)
Explicit interface implemetationPrivate propertyIList.IsFixedSize (Inherited from Collection<DbSyncColumnMapping>.)
Explicit interface implemetationPrivate propertyICollection<T>.IsReadOnly (Inherited from Collection<DbSyncColumnMapping>.)
Explicit interface implemetationPrivate propertyIList.IsReadOnly (Inherited from Collection<DbSyncColumnMapping>.)
Explicit interface implemetationPrivate propertyICollection.IsSynchronized (Inherited from Collection<DbSyncColumnMapping>.)
Explicit interface implemetationPrivate propertyIList.Item (Inherited from Collection<DbSyncColumnMapping>.)
Explicit interface implemetationPrivate methodIList.Remove (Inherited from Collection<DbSyncColumnMapping>.)
Explicit interface implemetationPrivate propertyICollection.SyncRoot (Inherited from Collection<DbSyncColumnMapping>.)
Top

This type is similar in functionality to the DataColumnMappingCollection type in ADO.NET. In peer-to-peer scenarios, the schema might differ between peer databases. For example, a table schema at the first peer might use numerical column names that are not easy to read. You can use the DbSyncColumnMapping and DbSyncColumnMappingCollection objects to map the columns to more friendly names for other peers.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft