DbSyncColumnMappingCollection Class
Represents a collection of DbSyncColumnMapping objects.
System.Object
System.Collections.ObjectModel.Collection(Of DbSyncColumnMapping)
Microsoft.Synchronization.Data.DbSyncColumnMappingCollection
System.Collections.ObjectModel.Collection(Of DbSyncColumnMapping)
Microsoft.Synchronization.Data.DbSyncColumnMappingCollection
Assembly: Microsoft.Synchronization.Data (in Microsoft.Synchronization.Data.dll)
The DbSyncColumnMappingCollection type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | DbSyncColumnMappingCollection | Initializes a new instance of the DbSyncColumnMappingCollection class. |
| Name | Description | |
|---|---|---|
![]() | Count | (Inherited from Collection(Of DbSyncColumnMapping).) |
![]() | Item | (Inherited from Collection(Of DbSyncColumnMapping).) |
![]() | Items | (Inherited from Collection(Of DbSyncColumnMapping).) |
| Name | Description | |
|---|---|---|
![]() | Add(T) | (Inherited from Collection(Of DbSyncColumnMapping).) |
![]() | Add(String, String) | Adds a DbSyncColumnMapping object that has the specified local and remote column names to the end of the collection. |
![]() | Clear | (Inherited from Collection(Of DbSyncColumnMapping).) |
![]() | ClearItems | (Inherited from Collection(Of DbSyncColumnMapping).) |
![]() | Contains | (Inherited from Collection(Of DbSyncColumnMapping).) |
![]() | CopyTo | (Inherited from Collection(Of DbSyncColumnMapping).) |
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | (Inherited from Object.) |
![]() | GetEnumerator | (Inherited from Collection(Of DbSyncColumnMapping).) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | IndexOf | (Inherited from Collection(Of DbSyncColumnMapping).) |
![]() | IndexOfLocalColumn | Searches for a DbSyncColumnMapping object when given a local column name, and returns the zero-based index of the first occurrence within the whole collection. |
![]() | IndexOfRemoteColumn | Searches for a DbSyncColumnMapping object when given a remote column name, and returns the zero-based index of the first occurrence within the whole collection. |
![]() | Insert | (Inherited from Collection(Of DbSyncColumnMapping).) |
![]() | InsertItem | Inserts a DbSyncColumnMapping object into the collection at the specified index. (Overrides Collection(Of T).InsertItem(Int32, T).) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | Remove | (Inherited from Collection(Of DbSyncColumnMapping).) |
![]() | RemoveAt | (Inherited from Collection(Of DbSyncColumnMapping).) |
![]() | RemoveItem | (Inherited from Collection(Of DbSyncColumnMapping).) |
![]() | SetItem | Replaces the DbSyncColumnMapping object at the specified index. (Overrides Collection(Of T).SetItem(Int32, T).) |
![]() | ToString | (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() ![]() | IList.Add | (Inherited from Collection(Of DbSyncColumnMapping).) |
![]() ![]() | IList.Contains | (Inherited from Collection(Of DbSyncColumnMapping).) |
![]() ![]() | ICollection.CopyTo | (Inherited from Collection(Of DbSyncColumnMapping).) |
![]() ![]() | IEnumerable.GetEnumerator | (Inherited from Collection(Of DbSyncColumnMapping).) |
![]() ![]() | IList.IndexOf | (Inherited from Collection(Of DbSyncColumnMapping).) |
![]() ![]() | IList.Insert | (Inherited from Collection(Of DbSyncColumnMapping).) |
![]() ![]() | IList.IsFixedSize | (Inherited from Collection(Of DbSyncColumnMapping).) |
![]() ![]() | ICollection(Of T).IsReadOnly | (Inherited from Collection(Of DbSyncColumnMapping).) |
![]() ![]() | IList.IsReadOnly | (Inherited from Collection(Of DbSyncColumnMapping).) |
![]() ![]() | ICollection.IsSynchronized | (Inherited from Collection(Of DbSyncColumnMapping).) |
![]() ![]() | IList.Item | (Inherited from Collection(Of DbSyncColumnMapping).) |
![]() ![]() | IList.Remove | (Inherited from Collection(Of DbSyncColumnMapping).) |
![]() ![]() | ICollection.SyncRoot | (Inherited from Collection(Of DbSyncColumnMapping).) |
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.
Show:

