예제 #1
0
        public SalesPersonQuotaHistoryCollection GetSalesPersonQuotaHistoryCollection(string where, string orderBy)
        {
            SalesPersonQuotaHistoryData       data = new SalesPersonQuotaHistoryData();
            SalesPersonQuotaHistoryCollection col  = new SalesPersonQuotaHistoryCollection();

            try
            {
                col = data.GetAllSalesPersonQuotaHistorysDynamicCollection(where, orderBy);
            }
            catch (Exception ex)
            {
                log.Write(ex.Message, "GetSalesPersonQuotaHistoryCollection");
                throw (ex);
            }
            finally
            {
                data = null;
            }
            return(col);
        }
예제 #2
0
        public SalesPersonQuotaHistoryCollection GetAllSalesPersonQuotaHistoryCollection()
        {
            SalesPersonQuotaHistoryData       data = new SalesPersonQuotaHistoryData();
            SalesPersonQuotaHistoryCollection col  = new SalesPersonQuotaHistoryCollection();

            try
            {
                col = data.GetAllSalesPersonQuotaHistorysCollection();
            }
            catch (Exception ex)
            {
                log.Write(ex.Message, "GetAllSalesPersonQuotaHistoryCollection");
                throw (ex);
            }
            finally
            {
                data = null;
            }
            return(col);
        }