Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to add local database file to Visual Studio Mac 2017

I'm creating a hotel management service in C# on Visual Studio (Mac) and I can't seem to find a good explanation on how to add a local database file to my project. I created my database table in open office (.odb file) but there doesn't seem to be a way for me to implement this in my project. The documentation has nothing on this either. Any one got a clue how to add databases to a Mac Visual studio project?

like image 708
Jumpman987 Avatar asked Jul 02 '17 00:07

Jumpman987


2 Answers

there are no localDB in visual studio for mac, you need to install the docker image for sql server.

here is the link

like image 101
Abiezer Avatar answered Oct 19 '22 03:10

Abiezer


You can run SQL Server on a Mac now:

https://database.guide/how-to-install-sql-server-on-a-mac/

Using Docker it can be made as your localhost SQL Server. I've done this and it works. SQL Management studio for Mac is useful too.

Hope this helps someone.

like image 39
Richard Avatar answered Oct 19 '22 05:10

Richard