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); }
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); }