Пример #1
0
        public DataSet GetProductVendorsDataSet(string whereExpression, string orderByExpression)
        {
            ProductVendorData data = new ProductVendorData();
            DataSet           ds   = new DataSet();

            try
            {
                ds = data.GetProductVendorDynamicDataSet(whereExpression, orderByExpression);
            }
            catch (Exception ex)
            {
                log.Write(ex.Message, "GetProductVendorsDataSet");
                throw (ex);
            }
            finally
            {
                data = null;
            }
            return(ds);
        }