public AlertCollection FetchAll() { var coll = new AlertCollection(); var qry = new Query(Alert.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public AlertCollection FetchByQuery(Query qry) { var coll = new AlertCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }