DbSyncForeignKeyConstraint Constructor (String, String, String, String, String)

Initializes a new instance of the DbSyncForeignKeyConstraint class.

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

Syntax

'Declaration
Public Sub New ( _
    name As String, _
    parentTable As String, _
    childTable As String, _
    parentColumn As String, _
    childColumn As String _
)
'Usage
Dim name As String
Dim parentTable As String
Dim childTable As String
Dim parentColumn As String
Dim childColumn As String

Dim instance As New DbSyncForeignKeyConstraint(name, parentTable, childTable, parentColumn, childColumn)
public DbSyncForeignKeyConstraint (
    string name,
    string parentTable,
    string childTable,
    string parentColumn,
    string childColumn
)
public:
DbSyncForeignKeyConstraint (
    String^ name, 
    String^ parentTable, 
    String^ childTable, 
    String^ parentColumn, 
    String^ childColumn
)
public DbSyncForeignKeyConstraint (
    String name, 
    String parentTable, 
    String childTable, 
    String parentColumn, 
    String childColumn
)
public function DbSyncForeignKeyConstraint (
    name : String, 
    parentTable : String, 
    childTable : String, 
    parentColumn : String, 
    childColumn : String
)

Parameters

  • name
    The name of the foreign key constraint.
  • parentTable
    The name of the parent table that is involved in the foreign key constraint.
  • childTable
    The name of the child table that is involved in the foreign key constraint.
  • parentColumn
    The column from the parent table that is involved in the foreign key constraint.
  • childColumn
    The column from the child table that is involved in the foreign key constraint.

See Also

Reference

DbSyncForeignKeyConstraint Class
DbSyncForeignKeyConstraint Members
Microsoft.Synchronization.Data Namespace