EntityDataSource.ContextType Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.