Example #1
0
        public NewChildTableTemplate NewChild(Authentication authentication)
        {
            this.DataBase.ValidateBeginInDataBase(authentication);
            this.CremaHost.DebugMethod(authentication, this, nameof(NewChild), this);
            var template = new NewChildTableTemplate(this);

            template.BeginEdit(authentication);
            return(template);
        }
Example #2
0
 public void Attach(NewChildTableTemplate template)
 {
     template.EditCanceled += Template_EditCanceled;
     template.EditEnded    += Template_EditEnded;
     this.templateList.Add(template);
 }