Freigeben über


DbSyncForeignKeyConstraint-Konstruktor (String, String, String, Collection (generisch), Collection (generisch))

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>
)

Parameter

  • name
    Der Name der Fremdschlüsseleinschränkung.
  • parentTable
    Der Name der übergeordneten Tabelle, die an der Fremdschlüsseleinschränkung beteiligt ist.
  • childTable
    Der Name der untergeordneten Tabelle, die an der Fremdschlüsseleinschränkung beteiligt ist.
  • parentColumns
    Eine Auflistung der Spalten aus der übergeordneten Tabelle, die an der Fremdschlüsseleinschränkung beteiligt ist.
  • childColumns
    Eine Auflistung der Spalten aus der untergeordneten Tabelle, die an der Fremdschlüsseleinschränkung beteiligt ist.

Siehe auch

Verweis

DbSyncForeignKeyConstraint-Klasse
DbSyncForeignKeyConstraint-Member
Microsoft.Synchronization.Data-Namespace