public PnSubirArchivoCollection FetchByQuery(Query qry) { PnSubirArchivoCollection coll = new PnSubirArchivoCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PnSubirArchivoCollection FetchAll() { PnSubirArchivoCollection coll = new PnSubirArchivoCollection(); Query qry = new Query(PnSubirArchivo.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PnSubirArchivoCollection FetchByID(object Id) { PnSubirArchivoCollection coll = new PnSubirArchivoCollection().Where("id", Id).Load(); return(coll); }