Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ForeignKeyConstraint Constructor

Initializes a new instance of the ForeignKeyConstraint class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method ForeignKeyConstraint(DataColumn, DataColumn) Initializes a new instance of the ForeignKeyConstraint class with the specified parent and child DataColumn objects.
Public method ForeignKeyConstraint(DataColumn[], DataColumn[]) Initializes a new instance of the ForeignKeyConstraint class with the specified arrays of parent and child DataColumn objects.
Public method ForeignKeyConstraint(String, DataColumn, DataColumn) Initializes a new instance of the ForeignKeyConstraint class with the specified name, parent and child DataColumn objects.
Public method ForeignKeyConstraint(String, DataColumn[], DataColumn[]) Initializes a new instance of the ForeignKeyConstraint class with the specified name, and arrays of parent and child DataColumn objects.
Public method ForeignKeyConstraint(String, String, String[], String[], AcceptRejectRule, Rule, Rule) This constructor is provided for design time support in the Visual Studio environment. ForeignKeyConstraint objects created by using this constructor must then be added to the collection via AddRange. Tables and columns with the specified names must exist at the time the method is called, or if BeginInit has been called prior to calling this constructor, the tables and columns with the specified names must exist at the time that EndInit is called.
Public method ForeignKeyConstraint(String, String, String, String[], String[], AcceptRejectRule, Rule, Rule) This constructor is provided for design time support in the Visual Studio environment. ForeignKeyConstraint objects created by using this constructor must then be added to the collection via AddRange. Tables and columns with the specified names must exist at the time the method is called, or if BeginInit has been called prior to calling this constructor, the tables and columns with the specified names must exist at the time that EndInit is called.
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.