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