How to Connect to SQL Server Database in Windows Store Apps (WinRT)?


(Yay) #1

How can i connect to an SQL Server Database in a Visual Studio 2015 Windows Store App (WinRT framework)?

i used to do this through .dbml (Linq to SQL files) in WinForms and WPF but now i can’t

(SAM) #2

Unfortunately that’s not possible to do within WinRT/UWP.

you will have to use WCF web services to access your database.