DbSyncColumnMapping Class

Maps a column in the local database to a column in the remote database.

System.Object
  Microsoft.Synchronization.Data.DbSyncColumnMapping

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

public class DbSyncColumnMapping

The DbSyncColumnMapping type exposes the following members.

  NameDescription
Public methodDbSyncColumnMapping()Initializes a new instance of the DbSyncColumnMapping class by using default values.
Public methodDbSyncColumnMapping(String, String)Initializes a new instance of the DbSyncColumnMapping class by using local column and remote column parameters.
Top

  NameDescription
Public propertyLocalColumnGets or sets the name of the column in the local database.
Public propertyRemoteColumnGets or sets the name of the column in the remote database.
Top

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToStringReturns a string that represents the DbSyncColumnMapping object. (Overrides Object.ToString().)
Top

This type is similar in functionality to the DataColumnMapping 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: