Share via


DbSyncForeignKeyConstraint Constructor (String, String, String, Generic Collection, Generic Collection)

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, _
    parentColumns As Collection(Of String), _
    childColumns As Collection(Of String) _
)
'Usage
Dim name As String
Dim parentTable As String
Dim childTable As String
Dim parentColumns As Collection(Of String)
Dim childColumns As Collection(Of String)

Dim instance As New DbSyncForeignKeyConstraint(name, parentTable, childTable, parentColumns, childColumns)
public DbSyncForeignKeyConstraint (
    string name,
    string parentTable,
    string childTable,
    Collection<string> parentColumns,
    Collection<string> childColumns
)
public:
DbSyncForeignKeyConstraint (
    String^ name, 
    String^ parentTable, 
    String^ childTable, 
    Collection<String^>^ parentColumns, 
    Collection<String^>^ childColumns
)
public DbSyncForeignKeyConstraint (
    String name, 
    String parentTable, 
    String childTable, 
    Collection<String> parentColumns, 
    Collection<String> childColumns
)
public function DbSyncForeignKeyConstraint (
    name : String, 
    parentTable : String, 
    childTable : String, 
    parentColumns : Collection<String>, 
    childColumns : Collection<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.
  • parentColumns
    A collection of columns from the parent table that is involved in the foreign key constraint.
  • childColumns
    A collection of columns from the child table that is involved in the foreign key constraint.

See Also

Reference

DbSyncForeignKeyConstraint Class
DbSyncForeignKeyConstraint Members
Microsoft.Synchronization.Data Namespace