void _CreateMDFInstance_OnTableCreatedOrRenamedEvent(object sender, OnTableCreatedOrRenamedEventArgs Args) { if (AdaptedTables.ContainsKey(Args.Table.TableName)) { AdapterStep = "OnTableCreatedOrRenamedEvent"; AdaptingTable = Args.Table; AvaibleTables = Args.AvaibleTables; Adapta.ChangeTable(AdaptedTables[Args.Table.TableName]); } else { AdapterStep = "OnTableCreatedOrRenamedEvent"; AdaptingTable = Args.Table; AvaibleTables = Args.AvaibleTables; HttpContext.Current.Response.Redirect("AdapterInterface.aspx"); } }
void _CreateMDFInstance_OnTableChangedEvent(object sender, OnTableChangedEventArgs Args) { if (AdaptedTables.ContainsKey(Args.Table.TableName)) { AdapterStep = "OnTableChangedEvent"; AdaptingTable = Args.Table; AvaibleTables = new List <TableStruct> { Args.OldTable }; Adapta.NewTable(); } else { AdapterStep = "OnTableChangedEvent"; AdaptingTable = Args.Table; AvaibleTables = new List <TableStruct> { Args.OldTable }; HttpContext.Current.Response.Redirect("AdapterInterface.aspx"); } }