OwnedAttribute Kelas
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Menandai jenis sebagai milik. Semua referensi ke jenis ini akan dikonfigurasi sebagai jenis entitas yang dimiliki.
[System.AttributeUsage(System.AttributeTargets.Class)]
public sealed class OwnedAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class)>]
type OwnedAttribute = class
inherit Attribute
Public NotInheritable Class OwnedAttribute
Inherits Attribute
- Warisan
-
OwnedAttribute
- Atribut
Keterangan
Lihat Pemodelan jenis entitas dan hubungan untuk informasi dan contoh selengkapnya.
Konstruktor
OwnedAttribute() |
Menandai jenis sebagai milik. Semua referensi ke jenis ini akan dikonfigurasi sebagai jenis entitas yang dimiliki. |
Berlaku untuk
Berkolaborasi dengan kami di GitHub
Sumber untuk konten ini dapat ditemukan di GitHub, yang juga dapat Anda gunakan untuk membuat dan meninjau masalah dan menarik permintaan. Untuk informasi selengkapnya, lihat panduan kontributor kami.
Entity Framework