Search code examples
sqllinqmdf

Do you have to have SQL Server installed on a machine if the connection string using is a path to a .mdf File?


I am wondering if you can use Linq to SQL using a .mdf file on a machine without a SQL Server instance installed?


Solution

  • Nope, you need to attach the file to some instance of MSSQL. You can do it with MsSQL Express.