AssociationAttribute Klasa

Definicja

Przestroga

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

Przestroga

AssociationAttribute has been deprecated and is not supported.

Określa, że element członkowski jednostki reprezentuje relację danych, taką jak relacja klucza obcego.

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
Dziedziczenie
AssociationAttribute
Atrybuty

Konstruktory

AssociationAttribute(String, String, String)
Przestarzałe.
Przestarzałe.

Inicjuje nowe wystąpienie klasy AssociationAttribute.

Właściwości

IsForeignKey
Przestarzałe.
Przestarzałe.

Pobiera lub ustawia wartość wskazującą, czy element członkowski skojarzenia reprezentuje klucz obcy.

Name
Przestarzałe.
Przestarzałe.

Pobiera nazwę skojarzenia.

OtherKey
Przestarzałe.
Przestarzałe.

Pobiera nazwy właściwości wartości klucza po stronie OtherKey skojarzenia.

OtherKeyMembers
Przestarzałe.
Przestarzałe.

Pobiera kolekcję poszczególnych kluczowych elementów członkowskich określonych we OtherKey właściwości .

ThisKey
Przestarzałe.
Przestarzałe.

Pobiera nazwy właściwości wartości klucza po stronie ThisKey skojarzenia.

ThisKeyMembers
Przestarzałe.
Przestarzałe.

Pobiera kolekcję poszczególnych kluczowych elementów członkowskich określonych we ThisKey właściwości .

TypeId
Przestarzałe.
Przestarzałe.

Po zaimplementowaniu w klasie pochodnej pobiera unikatowy identyfikator dla tego Attributeelementu .

(Odziedziczone po Attribute)

Metody

Equals(Object)
Przestarzałe.
Przestarzałe.

Zwraca wartość wskazującą, czy to wystąpienie jest równe podanemu obiektowi.

(Odziedziczone po Attribute)
GetHashCode()
Przestarzałe.
Przestarzałe.

Zwraca wartość skrótu dla tego wystąpienia.

(Odziedziczone po Attribute)
GetType()
Przestarzałe.
Przestarzałe.

Type Pobiera wartość bieżącego wystąpienia.

(Odziedziczone po Object)
IsDefaultAttribute()
Przestarzałe.
Przestarzałe.

Podczas zastępowania w klasie pochodnej wskazuje, czy wartość tego wystąpienia jest wartością domyślną dla klasy pochodnej.

(Odziedziczone po Attribute)
Match(Object)
Przestarzałe.
Przestarzałe.

Po przesłonięciu w klasie pochodnej zwraca wartość wskazującą, czy to wystąpienie jest równe określonemu obiektowi.

(Odziedziczone po Attribute)
MemberwiseClone()
Przestarzałe.
Przestarzałe.

Tworzy płytkią kopię bieżącego Objectelementu .

(Odziedziczone po Object)
ToString()
Przestarzałe.
Przestarzałe.

Zwraca ciąg reprezentujący bieżący obiekt.

(Odziedziczone po Object)

Jawne implementacje interfejsu

_Attribute.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr)
Przestarzałe.
Przestarzałe.

Zestaw nazw jest mapowany na odpowiedni zestaw identyfikatorów wysyłania.

(Odziedziczone po Attribute)
_Attribute.GetTypeInfo(UInt32, UInt32, IntPtr)
Przestarzałe.
Przestarzałe.

Pobiera informacje o typie dla obiektu, który może służyć do pobierania informacji o typie dla interfejsu.

(Odziedziczone po Attribute)
_Attribute.GetTypeInfoCount(UInt32)
Przestarzałe.
Przestarzałe.

Pobiera informację o liczbie typów interfejsów, jakie zawiera obiekt (0 lub 1).

(Odziedziczone po Attribute)
_Attribute.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr)
Przestarzałe.
Przestarzałe.

Umożliwia dostęp do właściwości i metod udostępnianych przez obiekt.

(Odziedziczone po Attribute)

Dotyczy