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