簡體   English   中英

Wpf應用中的SQLite和實體框架

[英]SQLite and Entity Framework in Wpf App

我在wpf應用程序中使用SQLite和Entity Framework。 它在開發機器上工作正常,但是當我將其部署到另一台機器上時,它不起作用。 我收到以下錯誤消息

System.Data.EntityException: The underlying provider failed on Open. --->     
System.Data.SQLite.SQLiteException: Unable to open the database file
at System.Data.SQLite.SQLite3.Open(String strFilename, SQLiteOpenFlagsEnum flags, Int32  
maxPoolSize, Boolean usePool)

您能否給我建議“如何使用SQLite和實體框架發布wpf應用程序?”

本文介紹了如何在您的應用程序中分發SQLite。

http://system.data.sqlite.org/index.html/doc/trunk/www/downloads.wiki

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM