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