EntityDataSource.ContextType Properti
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.
Mendapatkan atau mengatur jenis ObjectContext yang digunakan oleh EntityDataSource kontrol.
public:
property Type ^ ContextType { Type ^ get(); void set(Type ^ value); };
public Type ContextType { get; set; }
member this.ContextType : Type with get, set
Public Property ContextType As Type
Nilai Properti
Objek yang berasal dari ObjectContext.
Penerapan
Keterangan
yang ObjectContext digunakan oleh EntityDataSource kontrol dapat diakses dari ContextType properti . Untuk informasi selengkapnya, lihat Object Context Life-Cycle Management (EntityDataSource).
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.