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