久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

windows運行時組件中的sqlite

sqlite in windows runtime component(windows運行時組件中的sqlite)
本文介紹了windows運行時組件中的sqlite的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

問題描述

限時送ChatGPT賬號..

我正在嘗試在 Windows 運行時組件中使用 sqlite.但是當我添加 nuget sqlite-net 包時,我收到了一些 219 錯誤.無法在任何地方弄清楚.有沒有類似的問題?

am trying to use sqlite in a windows runtime component. But I get some 219 errors when i add the nuget sqlite-net package. couldnt figure it out anywhere. Any similar issues ?

我最終使用商店應用類庫來使用 sqlite 并從我的 Windows 運行時組件調用其中的這些方法.

I finally used a store app class library to use sqlite and called those methods in it from my windows runtime component.

商店應用程序中的方法

   public async  Task<IEnumerable<TaskGroup> > GetTaskGroup()
    {
         return await conn.QueryAsync<TaskGroup>("select * from TaskGroup");

    }

win 運行時組件中的調用方法

calling method in win runtime component

public IAsyncOperation<IEnumerable<TaskGroup>> GetAllTaskGroup()
    {
        return m_objDAL.GetTaskGroup().AsAsyncOperation();

    }

我收到以下錯誤

Error   1   Method 'Tasker.BAL.TaskManager.GetAllTaskGroup()' has a parameter of type 'Windows.Foundation.IAsyncOperation<System.Collections.Generic.IEnumerable<SQLLite.Models.TaskGroup>>' in its signature. Although this generic type is not a valid Windows Runtime type, the type or its generic parameters implement interfaces that are valid Windows Runtime types. Consider changing the type 'SQLLite.Models.TaskGroup' in the method signature. It is not a valid Windows Runtime parameter type.   

將商店應用程序方法設為私有可根據此博客解決該問題http://rarcher.azurewebsites.net/Post/PostContent/23

making the store app method as private resolves it as per this blog http://rarcher.azurewebsites.net/Post/PostContent/23

但我不能這樣做,因為它會給我帶來訪問問題,因為它是私密的.

but i cant ue this since it will give me access issues since it is private.

有什么解決辦法嗎?

推薦答案

我不明白這些錯誤是什么,但是您是否首先通過工具">擴展"安裝 SQLite for Windows Runtime?sqlite-net 是 LINQ 查詢庫

I don't understand what these errors are, but did you first install the SQLite for Windows Runtime through Tools > Extensions? sqlite-net is LINQ query library

這篇關于windows運行時組件中的sqlite的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

相關文檔推薦

Dynamically creating a placeholder to insert many column values for a row in SQLite table(動態創建占位符以在 SQLite 表中為一行插入多個列值)
How SQLite.Net-PCL handle UTC time(SQLite.Net-PCL 如何處理 UTC 時間)
How to make SQLite SELECT query in C correctly?(如何在 C 中正確地進行 SQLite SELECT 查詢?)
Timestamp with 9 digits in SQLite file(SQLite 文件中的 9 位時間戳)
Replace path string in SQLite DB causes unexpected violated unique constraint(替換 SQLite DB 中的路徑字符串導致意外違反唯一約束)
reading in many tables from SQLlite databases and combining in R(從 SQLlite 數據庫中讀取許多表并在 R 中組合)
主站蜘蛛池模板: 一区二区三区精品视频 | 亚洲成人中文字幕 | 免费国产精品视频 | 国产日韩在线播放 | 欧美成人免费视频 | 久久视频这里只有精品 | 成人毛片网站 | 久久精品国产亚洲 | 中文字字幕码一二三区 | 又黄又爽的网站 | 久久精品国产成人av | 国产a区 | 久久男人| 色片在线 | 亚洲视频在线一区 | 日韩中文字幕第一页 | 久久久网 | 99精品网 | 天堂久久久久 | 免费a网站 | 2018天天操| 免费观看全黄做爰视频 | 天天操操操 | 午夜免费网站 | 国产精品久久久久久中文字 | 91性高潮久久久久久久久 | 在线不卡一区 | 就爱啪啪网 | 国产一区二区久久 | 天天色天天干天天 | 金银在线| 国产黄色在线播放 | 中文字幕在 | 天天拍夜夜操 | 日本久久视频 | 国产成人精品免费视频 | 手机看片欧美 | 99久久精品国产一区二区三区 | 欧美视频a | 成人三级视频 | 亚洲一区二区欧美 |