public FacTipoFacturaCollection FetchByQuery(Query qry) { FacTipoFacturaCollection coll = new FacTipoFacturaCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public FacTipoFacturaCollection FetchAll() { FacTipoFacturaCollection coll = new FacTipoFacturaCollection(); Query qry = new Query(FacTipoFactura.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public FacTipoFacturaCollection FetchByID(object IdTipoFactura) { FacTipoFacturaCollection coll = new FacTipoFacturaCollection().Where("idTipoFactura", IdTipoFactura).Load(); return(coll); }