protected void EntityDataSource_ContextCreated(object sender, EntityDataSourceContextCreatedEventArgs e) { e.Context.Connection.Open(); e.Context.Connection.BeginTransaction(System.Data.IsolationLevel.ReadUncommitted); }
protected void EntityDataSourceLinks_ContextCreated(object sender, EntityDataSourceContextCreatedEventArgs e) { // force loading of all metadata //e.Context.MetadataWorkspace.LoadFromAssembly(System.Reflection.Assembly.GetAssembly(e.Context.GetType())); }
protected void EntityDataSource1_ContextCreated(object sender, EntityDataSourceContextCreatedEventArgs e) { var c = e.Context; }