public MamRegistroCollection FetchByQuery(Query qry) { MamRegistroCollection coll = new MamRegistroCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public MamRegistroCollection FetchAll() { MamRegistroCollection coll = new MamRegistroCollection(); Query qry = new Query(MamRegistro.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public MamRegistroCollection FetchByID(object IdMamas) { MamRegistroCollection coll = new MamRegistroCollection().Where("idMamas", IdMamas).Load(); return(coll); }