Exemple #1
0
        public SalesPersonQuotaHistoryCollection FetchByQuery(Query qry)
        {
            SalesPersonQuotaHistoryCollection coll = new SalesPersonQuotaHistoryCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemple #2
0
        public SalesPersonQuotaHistoryCollection FetchAll()
        {
            SalesPersonQuotaHistoryCollection coll = new SalesPersonQuotaHistoryCollection();
            Query qry = new Query(SalesPersonQuotaHistory.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemple #3
0
        public SalesPersonQuotaHistoryCollection FetchByID(object SalesPersonID)
        {
            SalesPersonQuotaHistoryCollection coll = new SalesPersonQuotaHistoryCollection().Where("SalesPersonID", SalesPersonID).Load();

            return(coll);
        }