EntityDataSource.ContextType Vlastnost

Definice

Získá nebo nastaví typ, který ObjectContext používá EntityDataSource ovládací prvek.

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

Type

Objekt, který je odvozen z ObjectContext .

Implementuje

Poznámky

K ObjectContext použití EntityDataSource ovládacího prvku je možné přistupovat z ContextType Vlastnosti. Další informace naleznete v tématu Object Context Life-Cycle Management (EntityDataSource).

Platí pro