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

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

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

            return(coll);
        }