Bagikan melalui


EntityDataSource.ContextType Properti

Definisi

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