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