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