DesignerDataRelationship Class

Represents to the designer a relationship between two tables in the data source accessed through a data connection. This class cannot be inherited.

System.Object
  System.ComponentModel.Design.Data.DesignerDataRelationship

Namespace:  System.ComponentModel.Design.Data
Assembly:  System.Design (in System.Design.dll)

public sealed class DesignerDataRelationship

The DesignerDataRelationship type exposes the following members.

  NameDescription
Public methodDesignerDataRelationshipInitializes a new instance of the DesignerDataRelationship class with the specified name, parent column, and child relationship.
Top

  NameDescription
Public propertyChildColumnsGets a collection of columns from the child table that are part of the relationship.
Public propertyChildTableGets the child table referenced in the relationship.
Public propertyNameGets the name of the relationship.
Public propertyParentColumnsGets a collection of columns from the parent table that are part of the relationship between two tables.
Top

  NameDescription
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft