0

I am looking for a way to include a standart .MDF database to my C# project in Project Rider. I really like the way it works with Databases.

I know that Visual Studio uses Microsoft SQL Server databases, even for local ones, but i can't use a local file of .MDF type for an SQL Server in Porject Rider.

Is there a way to accomplish the connection? If not, what could be a good alternative for a local database?

Thanks!

jarlh
  • 42,561
  • 8
  • 45
  • 63

1 Answers1

0

You can't just use a MDF file directly, it must be used with SQL Server. If you are looking for some kind of local database just to be able to store some data and query it in SQL format, take a look at SQLite or look into Microsoft SQL Server Express or greater.

Element Zero
  • 1,651
  • 3
  • 13
  • 31