I would to have the ability to connect to a SQLite database f开发者_运维技巧ile, I am using a C# SQLite Library but due to Silverlight's permissions I can not make a connection to actually locate the file, Can anybody help with actually using the file to execute queries on to?
Thanks.
SQLite is an embedded database which means that only the process hosting it can use it and run queries against it. If you want to connect to a database on the server, you have to expose it through a service (SOAP, WCF, WCF RIA Services) or a REST endpoint.
Using SQLite with Silverlight only makes sense if you want to store files locally.
精彩评论