public TamTipoPapPrevioCollection FetchByQuery(Query qry) { TamTipoPapPrevioCollection coll = new TamTipoPapPrevioCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public TamTipoPapPrevioCollection FetchAll() { TamTipoPapPrevioCollection coll = new TamTipoPapPrevioCollection(); Query qry = new Query(TamTipoPapPrevio.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public TamTipoPapPrevioCollection FetchByID(object IdTipoPapPrevio) { TamTipoPapPrevioCollection coll = new TamTipoPapPrevioCollection().Where("idTipoPapPrevio", IdTipoPapPrevio).Load(); return(coll); }