Example #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);
     }
 }
Example #2
0
 /// <summary>
 /// Constructor
 /// </summary>
 public clsMainLogic()
 {
     SQL = new clsMainSQL();
     db  = new DataAccess();
 }
Example #3
0
 /// <summary>
 /// Constructor for clsMainSQL
 /// </summary>
 public clsMainLogic()
 {
     SQL      = new clsMainSQL();
     DataBase = new clsDataAccess();
 }