Sdílet prostřednictvím


DbSyncColumnMappingCollection Class

Represents a collection of DbSyncColumnMapping objects.

Namespace: Microsoft.Synchronization.Data
Assembly: Microsoft.Synchronization.Data (in microsoft.synchronization.data.dll)

Syntax

'Declaration
<SuppressMessageAttribute("Microsoft.Naming", "CA1706:ShortAcronymsShouldBeUppercase")> _
Public Class DbSyncColumnMappingCollection
    Inherits Collection(Of DbSyncColumnMapping)
'Usage
Dim instance As DbSyncColumnMappingCollection
[SuppressMessageAttribute("Microsoft.Naming", "CA1706:ShortAcronymsShouldBeUppercase")] 
public class DbSyncColumnMappingCollection : Collection<DbSyncColumnMapping>
[SuppressMessageAttribute(L"Microsoft.Naming", L"CA1706:ShortAcronymsShouldBeUppercase")] 
public ref class DbSyncColumnMappingCollection : public Collection<DbSyncColumnMapping^>
/** @attribute SuppressMessageAttribute("Microsoft.Naming", "CA1706:ShortAcronymsShouldBeUppercase") */ 
public class DbSyncColumnMappingCollection extends Collection<DbSyncColumnMapping>
SuppressMessageAttribute("Microsoft.Naming", "CA1706:ShortAcronymsShouldBeUppercase") 
public class DbSyncColumnMappingCollection extends Collection<DbSyncColumnMapping>

Remarks

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.

Inheritance Hierarchy

System.Object
   System.Collections.ObjectModel.Collection
    Microsoft.Synchronization.Data.DbSyncColumnMappingCollection

Thread Safety

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

See Also

Reference

DbSyncColumnMappingCollection Members
Microsoft.Synchronization.Data Namespace