public StoreContactCollection FetchByQuery(Query qry) { StoreContactCollection coll = new StoreContactCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public StoreContactCollection FetchAll() { StoreContactCollection coll = new StoreContactCollection(); Query qry = new Query(StoreContact.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public StoreContactCollection FetchByID(object CustomerID) { StoreContactCollection coll = new StoreContactCollection().Where("CustomerID", CustomerID).Load(); return(coll); }