/// <summary> /// Performs one "Select * from MyTable where MyColumn=MyFilter". /// </summary> /// <returns>List of found records.</returns> public virtual List <OrdersInfo> GetAll(List <DataFilterExpressionDB> filterExpression) { motor.OpenConnection(); List <OrdersInfo> list = OrdersDAO.GetAll(filterExpression); if (this.closeConnectionWhenFinish) { motor.CloseConnection(); } return(list); }