WinRT System.Data - SQL Connection

I just want to make sure that I'm not missing something. It seems that WinRT System.Data does not exist. I am looking for System.Data.SqlClient to connect to SQL. Can a Metro app connect to SQL? If so, the Metro app can be connected to SQL in the App Store app.

+2
source share
1 answer

You are right, System.Data does not exist (I was looking for the same thing when I first started working with WinRT). You also cannot link to it. If you want to talk to the SQL database, you will need to use some other protocol (WebService, SOAP, WCF, etc.).

SQLite, , , , , , - , .

Metro, SQL Express, , , .

+5

All Articles