DbSyncColumnMapping Class
Maps a column in the local database to a column in the remote database.
Inheritance Hierarchy
System.Object
Microsoft.Synchronization.Data.DbSyncColumnMapping
Namespace: Microsoft.Synchronization.Data
Assembly: Microsoft.Synchronization.Data (in Microsoft.Synchronization.Data.dll)
Syntax
'Declaration
Public Class DbSyncColumnMapping
'Usage
Dim instance As DbSyncColumnMapping
public class DbSyncColumnMapping
public ref class DbSyncColumnMapping
type DbSyncColumnMapping = class end
public class DbSyncColumnMapping
The DbSyncColumnMapping type exposes the following members.
Constructors
Name | Description | |
---|---|---|
DbSyncColumnMapping() | Initializes a new instance of the DbSyncColumnMapping class by using default values. | |
DbSyncColumnMapping(String, String) | Initializes a new instance of the DbSyncColumnMapping class by using local column and remote column parameters. |
Top
Properties
Name | Description | |
---|---|---|
LocalColumn | Gets or sets the name of the column in the local database. | |
RemoteColumn | Gets or sets the name of the column in the remote database. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | Returns a string that represents the DbSyncColumnMapping object. (Overrides Object.ToString().) |
Top
Remarks
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.
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.