Redigera

Dela via


EntityDataSource.ContextType Property

Definition

Gets or sets the typed ObjectContext used by the EntityDataSource control.

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

Property Value

An object that derives from ObjectContext.

Implements

Remarks

The ObjectContext used by the EntityDataSource control can be accessed from the ContextType property. For more information, see Object Context Life-Cycle Management (EntityDataSource).

Applies to