Why can't I see a localdb database created by a UWP (Desktop Bridge App) in the SQL Server Object Explorer?

前端 未结 2 346
终归单人心
终归单人心 2021-01-19 01:36

Does UWP support LocalDB?
My investigations indicate there are some issues using localdb that I don\'t experience with SQL Server 2017 Development edition.

I man

2条回答
  •  无人及你
    2021-01-19 01:56

    There is a method to connect UWP to a localdb, you have to use the winforms sql data factory method the issues is although you have access to System.Data.SQLClient, you do not have SqlDataAdapter so you cannot create a user login system. However you can read data from the database and create ObservableCollections. To save you time Adapter Client doesn't work either. I think we have to wait for another update where the all the SQL libraries have been added.

提交回复
热议问题