EntityDataSource::ContextType Property

 

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

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web.Entity (in System.Web.Entity.dll)

public:
property Type^ ContextType {
	virtual Type^ get() sealed;
	virtual void set(Type^ value) sealed;
}

Property Value

Type: System::Type^

An object that derives from ObjectContext.

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

.NET Framework
Available since 3.5
Return to top
Show: