public TamMicrorganismoCollection FetchByQuery(Query qry) { TamMicrorganismoCollection coll = new TamMicrorganismoCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public TamMicrorganismoCollection FetchAll() { TamMicrorganismoCollection coll = new TamMicrorganismoCollection(); Query qry = new Query(TamMicrorganismo.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public TamMicrorganismoCollection FetchByID(object IdMicrorganismo) { TamMicrorganismoCollection coll = new TamMicrorganismoCollection().Where("idMicrorganismo", IdMicrorganismo).Load(); return(coll); }