public PnBorrarCollection FetchByQuery(Query qry) { PnBorrarCollection coll = new PnBorrarCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PnBorrarCollection FetchAll() { PnBorrarCollection coll = new PnBorrarCollection(); Query qry = new Query(PnBorrar.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PnBorrarCollection FetchByID(object IdNomenclador) { PnBorrarCollection coll = new PnBorrarCollection().Where("id_nomenclador", IdNomenclador).Load(); return(coll); }