Example #1
0
        public MessageLogCollection FetchByQuery(Query qry)
        {
            MessageLogCollection coll = new MessageLogCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Example #2
0
        public MessageLogCollection FetchAll()
        {
            MessageLogCollection coll = new MessageLogCollection();
            Query qry = new Query(MessageLog.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Example #3
0
        public MessageLogCollection FetchByID(object Id)
        {
            MessageLogCollection coll = new MessageLogCollection().Where("id", Id).Load();

            return(coll);
        }