Пример #1
0
        public UserDatabase()
        {
            SQLiteMidgardMessenger sqlite = new SQLiteMidgardMessenger();

            database = sqlite.GetConnection();
            database.CreateTable <User> ();
        }
Пример #2
0
        public UserDatabase()
        {
            SQLiteMidgardMessenger sqlite = new SQLiteMidgardMessenger ();

            database = sqlite.GetConnection ();
            database.CreateTable<User> ();
        }
Пример #3
0
        public ChatItemDatabase()
        {
            SQLiteMidgardMessenger sqlite = new SQLiteMidgardMessenger();

            database = sqlite.GetConnection();
            database.CreateTable <ChatItem> ();
        }
        public ChatRoomDatabase()
        {
            SQLiteMidgardMessenger sqlite = new SQLiteMidgardMessenger ();

            database = sqlite.GetConnection ();
            database.CreateTable<ChatRoom> ();

            chatroomUserDatabase = sqlite.GetConnection ();
            chatroomUserDatabase.CreateTable<ChatRoomUser> ();
        }
        public ChatRoomDatabase()
        {
            SQLiteMidgardMessenger sqlite = new SQLiteMidgardMessenger();

            database = sqlite.GetConnection();
            database.CreateTable <ChatRoom> ();

            chatroomUserDatabase = sqlite.GetConnection();
            chatroomUserDatabase.CreateTable <ChatRoomUser> ();
        }
 public ChatItemDatabase()
 {
     SQLiteMidgardMessenger sqlite = new SQLiteMidgardMessenger ();
     database = sqlite.GetConnection ();
     database.CreateTable<ChatItem> ();
 }