Beispiel #1
0
        private int SaveTemplate()
        {
            template.Name      = toolStripTextBox1.Text.Trim();
            template.Enabled   = toolStripButton1.Checked;
            template.PerEntity = toolStripButton11.Checked;
            template.FileName  = toolStripTextBox2.Text.Trim();
            template.Code      = fctbCode.Text;

            return(templates.SaveOrUpdateTemplate(template));
        }