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

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

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

            return(coll);
        }