public void InvokeTablesContentChangedEvent(Authentication authentication, TableContent content, Table[] tables) { var eventLog = EventLogBuilder.BuildMany(authentication, this, nameof(InvokeTablesContentChangedEvent), tables); var comment = EventMessageBuilder.ChangeTableContent(authentication, tables); this.CremaHost.Debug(eventLog); this.CremaHost.Info(comment); this.OnTablesChanged(new ItemsEventArgs <ITable>(authentication, tables)); this.Context.InvokeItemsChangedEvent(authentication, tables); }
public void InvokeTablesContentChangedEvent(Authentication authentication, TableContent content, Table[] tables, CremaDataSet dataSet) { var eventLog = EventLogBuilder.BuildMany(authentication, this, nameof(InvokeTablesContentChangedEvent), tables); var comment = EventMessageBuilder.ChangeTableContent(authentication, tables); this.CremaHost.Debug(eventLog); this.Repository.Commit(authentication, comment, eventLog); this.CremaHost.Info(comment); this.UpdateRevision(authentication, tables, dataSet); this.UpdateTableDetailInfo(authentication, tables, dataSet); this.OnTablesChanged(new ItemsEventArgs <ITable>(authentication, tables)); this.Context.InvokeItemsChangedEvent(authentication, tables, dataSet); }
public Table() { this.template = new TableTemplate(this); this.content = new TableContent(this); }