示例#1
0
        public DataSet GetAddressDataSet(string whereExpression, string orderByExpression)
        {
            AddressData data = new AddressData();
            DataSet     ds   = new DataSet();

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