Esempio n. 1
0
        public static DatabaseFactory getInstance()
        {

            lock (locker)
            {
                if (instance == null)
                    instance = new DatabaseFactory();

                return instance;
            }
        }
Esempio n. 2
0
 public long DeleteConversation(long threadId)
 {
     DatabaseFactory.getMessageDatabase().DeleteThread(threadId);
     return Delete(threadId);
 }