public MessageLogCollection FetchByQuery(Query qry) { MessageLogCollection coll = new MessageLogCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public MessageLogCollection FetchAll() { MessageLogCollection coll = new MessageLogCollection(); Query qry = new Query(MessageLog.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }