AssociationProvider Classe

Definição

Fornece uma classe base para provedores de associação de coluna.Provides the base class for column-association providers.

public ref class AssociationProvider abstract
public abstract class AssociationProvider
type AssociationProvider = class
Public MustInherit Class AssociationProvider
Herança
AssociationProvider

Comentários

Os provedores de associação devem estender essa classe.Association providers must extend this class.

Construtores

AssociationProvider()

Inicializa uma nova instância da classe AssociationProvider para ser usada por uma instância da classe herdada.Initializes a new instance of the AssociationProvider class for use by an inherited class instance. Esse construtor só pode ser chamado por uma classe herdada.This constructor can only be called by an inherited class.

Propriedades

Direction

Obtém ou define o tipo da associação.Gets or sets the type of the association.

ForeignKeyNames

Obtém ou define os nomes das chaves estrangeiras que compõem essa associação.Gets or sets the names of the foreign keys that make up this association.

FromColumn

Obtém ou define a coluna de origem da associação.Gets or sets the source column of the association.

IsPrimaryKeyInThisTable

Obtém ou define um valor que indica se a coluna Da parte da coluna da chave primária está na tabela.Gets or sets a value that indicates whether the From column part of the primary key is in the table.

ToColumn

Obtém ou define a coluna de destino da associação.Gets or sets the destination column of the association.

ToTable

Obtém a tabela de destino da associação.Gets the destination table of the association.

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)
GetSortExpression(ColumnProvider)

Retorna a expressão de classificação para a coluna que é representada pela associação.Returns the sort expression for the column that is represented by the association.

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