Επεξεργασία

Κοινή χρήση μέσω


LinqDataSourceView.ContextCreating Event

Definition

Occurs before an instance of the context type object is created.

public:
 event EventHandler<System::Web::UI::WebControls::LinqDataSourceContextEventArgs ^> ^ ContextCreating;
public event EventHandler<System.Web.UI.WebControls.LinqDataSourceContextEventArgs> ContextCreating;
member this.ContextCreating : EventHandler<System.Web.UI.WebControls.LinqDataSourceContextEventArgs> 
Public Custom Event ContextCreating As EventHandler(Of LinqDataSourceContextEventArgs) 

Event Type

Remarks

Handle this event if you want to manually construct the data context object. For more information, see the LinqDataSource.ContextCreating event.

Applies to