EntityDataSource.ContextType Egenskap

Definition

Hämtar eller anger den typ som ObjectContext används av EntityDataSource kontrollen.

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

Egenskapsvärde

Ett objekt som härleds från ObjectContext.

Implementeringar

Kommentarer

Den ObjectContext som används av EntityDataSource kontrollen kan nås från egenskapen ContextType . Mer information finns i Object Context Life-Cycle Management (EntityDataSource).

Gäller för