ContextType Property

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 Type ContextType { 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