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

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

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

            return(coll);
        }