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