Пример #1
0
 public static QuickListRow NewRowDefault()
 {
     if (defaultQuickListDT == null)
     {
         defaultQuickListDT = new QuickListDT();
         MyDbConnection.Instance.FillDataTable(defaultQuickListDT, "SELECT * FROM [QuickList] WHERE 1 > 1");
     }
     return((QuickListRow)defaultQuickListDT.NewRow());
 }
Пример #2
0
        public static QuickListDT GetDefaultQuickListDT()
        {
            if (defaultQuickListDT == null)
            {
                defaultQuickListDT = new QuickListDT();
                MyDbConnection.Instance.FillDataTable(defaultQuickListDT, "SELECT * FROM [QuickList] WHERE 1 > 1");
            }

            return(defaultQuickListDT);
        }