Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft