예제 #1
0
        private static void setNextPreKeyId(uint id)
        {
            var preKey = new PreKeyIndex()
            {
                PreyKeyIndex = 1, Next = id
            };

            conn.Update(preKey);
        }
예제 #2
0
        private static void setNextPreKeyId(uint id)
        {
            var preKeyIndex = new PreKeyIndex
            {
                PreyKeyIndex = 1,
                Next         = id
            };


            conn.InsertOrReplace(preKeyIndex);
        }