예제 #1
0
        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);
        }
예제 #2
0
        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);
        }
예제 #3
0
파일: Table.cs 프로젝트: sedrion/Crema
 public Table()
 {
     this.template = new TableTemplate(this);
     this.content  = new TableContent(this);
 }