示例#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);
        }