コード例 #1
0
        public ChatCollection FetchByQuery(Query qry)
        {
            ChatCollection coll = new ChatCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
コード例 #2
0
        public ChatCollection FetchAll()
        {
            ChatCollection coll = new ChatCollection();
            Query          qry  = new Query(Chat.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
コード例 #3
0
        public ChatCollection FetchByID(object ChatID)
        {
            ChatCollection coll = new ChatCollection().Where("ChatID", ChatID).Load();

            return(coll);
        }