示例#1
0
 /// <summary>
 /// Default Constructor
 /// </summary>
 public clsMainLogic()
 {
     try
     {
         SQL = new clsMainSQL();
         //get all items
         items = SQL.GetAllItems();
     }
     catch (Exception ex)
     {
         throw new Exception(MethodInfo.GetCurrentMethod().DeclaringType.Name + "." + MethodInfo.GetCurrentMethod().Name + " --> " + ex.Message);
     }
 }
示例#2
0
 /// <summary>
 /// Constructor
 /// </summary>
 public clsMainLogic()
 {
     SQL = new clsMainSQL();
     db  = new DataAccess();
 }
示例#3
0
 /// <summary>
 /// Constructor for clsMainSQL
 /// </summary>
 public clsMainLogic()
 {
     SQL      = new clsMainSQL();
     DataBase = new clsDataAccess();
 }