Muokkaa

Jaa


DesignerDataRelationship Class

Definition

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)

Applies to