AssociationAttribute Kelas

Definisi

Perhatian

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

Perhatian

AssociationAttribute has been deprecated and is not supported.

Menentukan bahwa anggota entitas mewakili hubungan data, seperti hubungan kunci asing.

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
Warisan
AssociationAttribute
Atribut

Konstruktor

AssociationAttribute(String, String, String)
Kedaluwarsa.
Kedaluwarsa.

Menginisialisasi instans baru kelas AssociationAttribute.

Properti

IsForeignKey
Kedaluwarsa.
Kedaluwarsa.

Mendapatkan atau menetapkan nilai yang menunjukkan apakah anggota asosiasi mewakili kunci asing.

Name
Kedaluwarsa.
Kedaluwarsa.

Mendapatkan nama asosiasi.

OtherKey
Kedaluwarsa.
Kedaluwarsa.

Mendapatkan nama properti dari nilai kunci di sisi OtherKey dari asosiasi.

OtherKeyMembers
Kedaluwarsa.
Kedaluwarsa.

Mendapatkan kumpulan anggota kunci individual yang ditentukan dalam OtherKey properti .

ThisKey
Kedaluwarsa.
Kedaluwarsa.

Mendapatkan nama properti dari nilai kunci di sisi ThisKey dari asosiasi.

ThisKeyMembers
Kedaluwarsa.
Kedaluwarsa.

Mendapatkan kumpulan anggota kunci individual yang ditentukan dalam ThisKey properti .

TypeId
Kedaluwarsa.
Kedaluwarsa.

Ketika diimplementasikan di kelas turunan, mendapatkan pengidentifikasi unik untuk ini Attribute.

(Diperoleh dari Attribute)

Metode

Equals(Object)
Kedaluwarsa.
Kedaluwarsa.

Mengembalikan nilai yang menunjukkan apakah instans ini sama dengan objek tertentu.

(Diperoleh dari Attribute)
GetHashCode()
Kedaluwarsa.
Kedaluwarsa.

Mengembalikan kode hash untuk instans ini.

(Diperoleh dari Attribute)
GetType()
Kedaluwarsa.
Kedaluwarsa.

Mendapatkan dari instans Type saat ini.

(Diperoleh dari Object)
IsDefaultAttribute()
Kedaluwarsa.
Kedaluwarsa.

Ketika ditimpa di kelas turunan, menunjukkan apakah nilai instans ini adalah nilai default untuk kelas turunan.

(Diperoleh dari Attribute)
Match(Object)
Kedaluwarsa.
Kedaluwarsa.

Saat ditimpa di kelas turunan, mengembalikan nilai yang menunjukkan apakah instans ini sama dengan objek tertentu.

(Diperoleh dari Attribute)
MemberwiseClone()
Kedaluwarsa.
Kedaluwarsa.

Membuat salinan dangkal dari saat ini Object.

(Diperoleh dari Object)
ToString()
Kedaluwarsa.
Kedaluwarsa.

Mengembalikan string yang mewakili objek saat ini.

(Diperoleh dari Object)

Implementasi Antarmuka Eksplisit

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

Memetakan sekumpulan nama ke sekumpulan pengidentifikasi pengiriman yang sesuai.

(Diperoleh dari Attribute)
_Attribute.GetTypeInfo(UInt32, UInt32, IntPtr)
Kedaluwarsa.
Kedaluwarsa.

Mengambil informasi jenis untuk objek, yang dapat digunakan untuk mendapatkan informasi jenis untuk antarmuka.

(Diperoleh dari Attribute)
_Attribute.GetTypeInfoCount(UInt32)
Kedaluwarsa.
Kedaluwarsa.

Mengambil jumlah antarmuka informasi jenis yang disediakan objek (baik 0 atau 1).

(Diperoleh dari Attribute)
_Attribute.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr)
Kedaluwarsa.
Kedaluwarsa.

Menyediakan akses ke properti dan metode yang diekspos oleh objek.

(Diperoleh dari Attribute)

Berlaku untuk