コード例 #1
0
        public bool IsUserDbPresentInDB()
        {
            UserData model = liteDBService.ReadAllItems <UserData>().FirstOrDefault(t => t.ID != 0);

            if (model == null)
            {
                return(false);
            }
            return(true);
        }
コード例 #2
0
        public bool IsNotificationDbPresentInDB()
        {
            NotificationModel model = liteDBService.ReadAllItems <NotificationModel>().FirstOrDefault(t => t.ID != 0);

            if (model == null)
            {
                return(false);
            }
            return(true);
        }
コード例 #3
0
        public bool IsChatDbPresentInDB()
        {
            ChatItem model = liteDBService.ReadAllItems <ChatItem>().FirstOrDefault(t => t.ID != 0);

            if (model == null)
            {
                return(false);
            }
            return(true);
        }
コード例 #4
0
        public bool IsLanguageDbPresentInDB()
        {
            LanguageModel model = liteDBService.ReadAllItems <LanguageModel>().FirstOrDefault(t => t.ID != 0);

            if (model == null)
            {
                return(false);
            }
            return(true);
        }
コード例 #5
0
        public bool IsSingleChatPresentInDB()
        {
            SingleChatDBModel model = liteDBService.ReadAllItems <SingleChatDBModel>().FirstOrDefault(t => t.ID != 0);

            if (model == null)
            {
                return(false);
            }
            return(true);
        }
コード例 #6
0
        public bool IsPostJobDbPresentInDB()
        {
            PostJobModel model = liteDBService.ReadAllItems <PostJobModel>().FirstOrDefault(t => t.ID != 0);

            if (model == null)
            {
                return(false);
            }
            return(true);
        }