public PnNinoNewCollection FetchByQuery(Query qry) { PnNinoNewCollection coll = new PnNinoNewCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PnNinoNewCollection FetchAll() { PnNinoNewCollection coll = new PnNinoNewCollection(); Query qry = new Query(PnNinoNew.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PnNinoNewCollection FetchByID(object IdNinoNew) { PnNinoNewCollection coll = new PnNinoNewCollection().Where("id_nino_new", IdNinoNew).Load(); return(coll); }