public NewTableTemplate NewTable(Authentication authentication) { this.DataBase.ValidateBeginInDataBase(authentication); this.CremaHost.DebugMethod(authentication, this, nameof(NewTable), this); var template = new NewTableTemplate(this); template.BeginEdit(authentication); return(template); }
public void Attach(NewTableTemplate template) { template.EditCanceled += (s, e) => this.templateList.Remove(template); template.EditEnded += (s, e) => this.templateList.Remove(template); this.templateList.Add(template); }