public TamRegistroCollection FetchByQuery(Query qry) { TamRegistroCollection coll = new TamRegistroCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public TamRegistroCollection FetchAll() { TamRegistroCollection coll = new TamRegistroCollection(); Query qry = new Query(TamRegistro.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public TamRegistroCollection FetchByID(object IdTam) { TamRegistroCollection coll = new TamRegistroCollection().Where("idTam", IdTam).Load(); return(coll); }