ContextType Property

EntityDataSource.ContextType Property

.NET Framework (current version)
 

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)

abstract ContextType : Type with get, set
override ContextType : Type with get, set

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