void MigrationUpdating(object sender, TableEventArgs e) { repository.Update(e.Table.Name, e.Values, e.Where); }
void MigrationTableCreate(object sender, TableEventArgs e) { repository.CreateTable(e.Table); }
void MigrationTableDrop(object sender, TableEventArgs e) { repository.DropTable(e.Table.Name); }
void MigrationDeleting(object sender, TableEventArgs e) { repository.Delete(e.Table.Name, e.Where); }
void MigrationInserting(object sender, TableEventArgs e) { repository.Insert(e.Table.Name, e.Values); }
void MigrationColumnAdd(object sender, TableEventArgs e) { repository.AddColumns(e.Table.Name, e.Table.Columns.ToArray()); }
void MigrationColumnRemove(object sender, TableEventArgs e) { repository.RemoveColumns(e.Table.Name, e.Table.ColumnNames.ToArray()); }
protected virtual void OnTableDrop(TableEventArgs e) { if (TableDrop != null) { TableDrop(this, e); } }
protected virtual void OnUpdating(TableEventArgs e) { if (Updating != null) { Updating(this, e); } }
protected virtual void OnTableCreate(TableEventArgs e) { if (TableCreate != null) { TableCreate(this, e); } }
protected virtual void OnInserting(TableEventArgs e) { if (Inserting != null) { Inserting(this, e); } }
protected virtual void OnDeleting(TableEventArgs e) { if (Deleting != null) { Deleting(this, e); } }
protected virtual void OnColumnRemove(TableEventArgs e) { if (ColumnRemove != null) { ColumnRemove(this, e); } }
protected virtual void OnColumnAdd(TableEventArgs e) { if (ColumnAdd != null) { ColumnAdd(this, e); } }