AssociationAttribute Classe

Definição

Cuidado

This attribute is no longer in use and will be ignored if applied.

Cuidado

AssociationAttribute has been deprecated and is not supported.

Especifica que um membro de entidade representa uma relação de dados, como uma relação de chave estrangeira.

public ref class AssociationAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)]
[System.Obsolete("This attribute is no longer in use and will be ignored if applied.")]
public sealed class AssociationAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)]
[System.Obsolete("AssociationAttribute has been deprecated and is not supported.")]
public sealed class AssociationAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)]
public sealed class AssociationAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)>]
[<System.Obsolete("This attribute is no longer in use and will be ignored if applied.")>]
type AssociationAttribute = class
    inherit Attribute
[<System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)>]
[<System.Obsolete("AssociationAttribute has been deprecated and is not supported.")>]
type AssociationAttribute = class
    inherit Attribute
[<System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)>]
type AssociationAttribute = class
    inherit Attribute
Public NotInheritable Class AssociationAttribute
Inherits Attribute
Herança
AssociationAttribute
Atributos

Construtores

AssociationAttribute(String, String, String)
Obsoleto.
Obsoleto.

Inicializa uma nova instância da classe AssociationAttribute.

Propriedades

IsForeignKey
Obsoleto.
Obsoleto.

Obtém ou define um valor que indica se o membro da associação representa uma chave estrangeira.

Name
Obsoleto.
Obsoleto.

Obtém nome da associação.

OtherKey
Obsoleto.
Obsoleto.

Obtém os nomes de propriedade dos valores de chave no lado OtherKey da associação.

OtherKeyMembers
Obsoleto.
Obsoleto.

Obtém uma coleção de membros de chave individuais especificados na propriedade OtherKey.

ThisKey
Obsoleto.
Obsoleto.

Obtém os nomes de propriedade dos valores de chave no lado ThisKey da associação.

ThisKeyMembers
Obsoleto.
Obsoleto.

Obtém uma coleção de membros de chave individuais especificados na propriedade ThisKey.

TypeId
Obsoleto.
Obsoleto.

Quando implementado em uma classe derivada, obtém um identificador exclusivo para este Attribute.

(Herdado de Attribute)

Métodos

Equals(Object)
Obsoleto.
Obsoleto.

Retorna um valor que indica se essa instância é igual a um objeto especificado.

(Herdado de Attribute)
GetHashCode()
Obsoleto.
Obsoleto.

Retorna o código hash para a instância.

(Herdado de Attribute)
GetType()
Obsoleto.
Obsoleto.

Obtém o Type da instância atual.

(Herdado de Object)
IsDefaultAttribute()
Obsoleto.
Obsoleto.

Quando substituído em uma classe derivada, indica se o valor dessa instância é o valor padrão para a classe derivada.

(Herdado de Attribute)
Match(Object)
Obsoleto.
Obsoleto.

Quando substituído em uma classe derivada, retorna um valor que indica se essa instância é igual a um objeto especificado.

(Herdado de Attribute)
MemberwiseClone()
Obsoleto.
Obsoleto.

Cria uma cópia superficial do Object atual.

(Herdado de Object)
ToString()
Obsoleto.
Obsoleto.

Retorna uma cadeia de caracteres que representa o objeto atual.

(Herdado de Object)

Implantações explícitas de interface

_Attribute.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr)
Obsoleto.
Obsoleto.

Mapeia um conjunto de nomes para um conjunto correspondente de identificadores de expedição.

(Herdado de Attribute)
_Attribute.GetTypeInfo(UInt32, UInt32, IntPtr)
Obsoleto.
Obsoleto.

Recupera as informações de tipo para um objeto, que pode ser usado para obter as informações de tipo para uma interface.

(Herdado de Attribute)
_Attribute.GetTypeInfoCount(UInt32)
Obsoleto.
Obsoleto.

Retorna o número de interfaces de informações do tipo que um objeto fornece (0 ou 1).

(Herdado de Attribute)
_Attribute.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr)
Obsoleto.
Obsoleto.

Fornece acesso a propriedades e métodos expostos por um objeto.

(Herdado de Attribute)

Aplica-se a