sqlite-net

    3熱度

    2回答

    我試圖使用SQLite網絡擴展做了筆記應用程序爲遊戲,它採用3層模型,Game [1 has many *] Character [1 has many *] Note [1 applies to *] Character 我使用Xamarin Visual Studio Community 2015,並使用NuGet包管理器安裝SQLiteNetExtensions。 我還沒有過去遊戲和角色之間

    0熱度

    1回答

    我想寫一個簡單的一對一我的模型之間的關係。 我從sqlite-net得到的例外消息是Don't know about Profile。 public class User { [PrimaryKey] public int pk { get; set; } public string first_name { get; set;} [OneToOne]

    1熱度

    1回答

    使用NuGet包:System.Data.SQLite.Core,1.0.98.1 問題:在我的程序我使用SQLite啓用池和只讀在某些情況下訪問。通常情況下它工作正常,但如果有很多混合的只讀/讀寫密集型請求的數據庫,然後程序失敗,出現以下異常: Unhandled Exception: System.Data.SQLite.SQLiteException: attempt to write a

    2熱度

    3回答

    我想知道如何使用反射在C#中調用下面的方法: public static List<T> GetAllWithChildren<T> (this SQLiteConnection conn, Expression<Func<T, bool>> filter = null, bool recursive = false) where T #if USING_MVVMCR

    0熱度

    1回答

    我正在爲Android和iOS開發POC項目。 設置: Xamarin.Forms(當前版本2.0.1) MvvmCross(當前版本4.0.0-beta8) 我試圖通過增加對SQLite的支持: MvvmCross.Plugin.SQLitePCL(v 4.0.0-beta8) SQLite.Net.Async-PCL(v 3.1.1) SQLite.net-PCL(V 3.1.1) Andro

    0熱度

    1回答

    首先,我嘗試了其他一些在stackoverflow上回答的示例,並嘗試了其他示例,但沒有在我的案例中找到成功。 我試圖從數據庫表中數據綁定到ListView的 ListView控件本身看起來是這樣的: <ListView x:Name="lbItems" Width="Auto" Height="Auto" Margin="10" Grid.Row="1" Grid.Column="0" Grid

    8熱度

    2回答

    我有行的ID然後我會更新其他值。 我不知道如何更新我的價值! 我的表: class MyTable { [PrimaryKey, AutoIncrement] public int Id { get; set; } public string Date { get; set; } public string Volumes { get; set; }

    1熱度

    1回答

    我想使用自己的函數來處理不同的數據庫表。當我使用SQLite時,表格使用自定義類來填充。 我試圖遞歸填補他們,所以我創建這個結構和數組: public class cCodesPair { public string cCodeKey { get; set; } public Type CommonCodeClass { get; set; } public cC

    1熱度

    1回答

    這裏插入多個參數值中的SQLite表是,我創建方法的代碼: public void writeIt(string inputText, bool fasting) { var dbConnect = new SQLiteConnection("Data Source=database.sqlite;Version=3;"); dbConnect.Open();

    1熱度

    1回答

    上下文: 我們使用SQLite-Net Extensions進行本地數據緩存,使用Xamarin。我們計劃部署到iOS,Android和Windows Phone。我們在整個系統中都使用了現有的數據結構(都實現了一個通用接口),我們希望以這種方式進行存儲。 問題 作爲代碼示例中所示,[ManyToOne]屬性用於表示的關係字段。這不起作用。如BitBucket Developer Page所述,[