Пример #1
0
        /// <summary>
        /// Performs one "Select * from MyTable where MyColumn=MyFilter".
        /// </summary>
        /// <returns>List of found records.</returns>
        public virtual List <ProductsInfo> GetAll(List <DataFilterExpressionDB> filterExpression)
        {
            motor.OpenConnection();
            List <ProductsInfo> list = ProductsDAO.GetAll(filterExpression);

            if (this.closeConnectionWhenFinish)
            {
                motor.CloseConnection();
            }
            return(list);
        }