private void print(SpecCategory specCategory)
        {
            Console.WriteLine(specCategory.Name);
            Console.WriteLine("================================================================================");

            foreach (var spec in specCategory.Specs)
            {
                Console.WriteLine(spec.ToString());
            }
        }
            private void printCategory(SpecCategory category, DocX document)
            {
                document.InsertParagraph()
                        .Append(category.ToString())
                        .Font(new FontFamily("Cambria"))
                        .FontSize(26)
                        .Color(Color.FromArgb(255, 23, 54, 93))
                        .Spacing(2.0f)
                        .AppendLine();

                foreach (var spec in category.Specs)
                    printSpec(document, spec);
            }
Example #3
0
 public void Insert(SpecCategory rec)
 {
     Exec(GetProcedureString(), rec);
 }
Example #4
0
 public void Delete(SpecCategory rec)
 {
     Exec(GetProcedureString(), rec);
 }