Sdílet prostřednictvím


EntityDataSource.ContextType Vlastnost

Definice

Získá nebo nastaví typ používaný ObjectContext ovládacím EntityDataSource prvku.

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

Hodnota vlastnosti

Objekt, který je odvozen od ObjectContext.

Implementuje

Poznámky

K ObjectContext ovládacímu EntityDataSource prvku lze přistupovat z ContextType vlastnosti. Další informace naleznete v tématu Object Context Life-Cycle Management (EntityDataSource).

Platí pro