DesignerDataRelationship Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents to the designer a relationship between two tables in the data source accessed through a data connection. This class cannot be inherited.
public ref class DesignerDataRelationship sealed
public sealed class DesignerDataRelationship
type DesignerDataRelationship = class
Public NotInheritable Class DesignerDataRelationship
- Inheritance
-
DesignerDataRelationship
Constructors
DesignerDataRelationship(String, ICollection, DesignerDataTable, ICollection) |
Initializes a new instance of the DesignerDataRelationship class with the specified name, parent column, and child relationship. |
Properties
ChildColumns |
Gets a collection of columns from the child table that are part of the relationship. |
ChildTable |
Gets the child table referenced in the relationship. |
Name |
Gets the name of the relationship. |
ParentColumns |
Gets a collection of columns from the parent table that are part of the relationship between two tables. |
Methods
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |