Export (0) Print
Expand All
1 out of 1 rated this helpful - Rate this topic

ForeignKeyConstraint Constructor

Initializes a new instance of the ForeignKeyConstraint class.

Name Description
ForeignKeyConstraint (DataColumn, DataColumn) Initializes a new instance of the ForeignKeyConstraint class with the specified parent and child DataColumn objects.

Supported by the .NET Compact Framework.

ForeignKeyConstraint (DataColumn[], DataColumn[]) Initializes a new instance of the ForeignKeyConstraint class with the specified arrays of parent and child DataColumn objects.

Supported by the .NET Compact Framework.

ForeignKeyConstraint (String, DataColumn, DataColumn) Initializes a new instance of the ForeignKeyConstraint class with the specified name, parent and child DataColumn objects.

Supported by the .NET Compact Framework.

ForeignKeyConstraint (String, DataColumn[], DataColumn[]) Initializes a new instance of the ForeignKeyConstraint class with the specified name, and arrays of parent and child DataColumn objects.

Supported by the .NET Compact Framework.

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.

Supported by the .NET Compact Framework.

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.

Supported by the .NET Compact Framework.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.