DesignerDataRelationship Classe

Definição

Representa para o designer uma relação entre duas tabelas na fonte de dados acessada por meio de uma conexão de dados.Represents to the designer a relationship between two tables in the data source accessed through a data connection. Essa classe não pode ser herdada.This class cannot be inherited.

public ref class DesignerDataRelationship sealed
public sealed class DesignerDataRelationship
type DesignerDataRelationship = class
Public NotInheritable Class DesignerDataRelationship
Herança
DesignerDataRelationship

Construtores

DesignerDataRelationship(String, ICollection, DesignerDataTable, ICollection)

Inicializa uma nova instância da classe DesignerDataRelationship com a coluna pai, a relação filho e o nome especificados.Initializes a new instance of the DesignerDataRelationship class with the specified name, parent column, and child relationship.

Propriedades

ChildColumns

Obtém uma coleção de colunas da tabela filho que fazem parte da relação.Gets a collection of columns from the child table that are part of the relationship.

ChildTable

Obtém a tabela filho referenciada na relação.Gets the child table referenced in the relationship.

Name

Obtém o nome da relação.Gets the name of the relationship.

ParentColumns

Obtém uma coleção de colunas da tabela pai que fazem parte da relação entre duas tabelas.Gets a collection of columns from the parent table that are part of the relationship between two tables.

Métodos

Equals(Object)

Determina se o objeto especificado é igual ao objeto atual.Determines whether the specified object is equal to the current object.

(Herdado de Object)
GetHashCode()

Serve como a função de hash padrão.Serves as the default hash function.

(Herdado de Object)
GetType()

Obtém o Type da instância atual.Gets the Type of the current instance.

(Herdado de Object)
MemberwiseClone()

Cria uma cópia superficial do Object atual.Creates a shallow copy of the current Object.

(Herdado de Object)
ToString()

Retorna uma cadeia de caracteres que representa o objeto atual.Returns a string that represents the current object.

(Herdado de Object)

Aplica-se a