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
)
new :
name:string *
parentTable:string *
childTable:string *
parentColumn:string *
childColumn:string -> DbSyncForeignKeyConstraint
public function DbSyncForeignKeyConstraint(
name : String,
parentTable : String,
childTable : String,
parentColumn : String,
childColumn : String
)
Parameters
- name
Type: System.String
The name of the foreign key constraint.
- parentTable
Type: System.String
The name of the parent table that is involved in the foreign key constraint.
- childTable
Type: System.String
The name of the child table that is involved in the foreign key constraint.
- parentColumn
Type: System.String
The column from the parent table that is involved in the foreign key constraint.
- childColumn
Type: System.String
The column from the child table that is involved in the foreign key constraint.
See Also
Reference
DbSyncForeignKeyConstraint Class