msallin / SQLiteCodeFirst

Creates a SQLite Database based on a EdmModel by using Entity Framework CodeFirst.
Apache License 2.0
610 stars 123 forks source link

Why need EntityFramework.SqlServer.dll? #149

Closed LeiYangGH closed 4 years ago

LeiYangGH commented 4 years ago

The project is greate and after clone with .net 4.5 and vs2019 I can run all the tests and the console sample successfully.

But I don't understand why EntityFramework.SqlServer.dll is always in the output directory. The assemly is not in the 'references' list, and I removed the sqlserver related sections in app.config. After build, the dll is there again!

The I removed the dll in the output folder, and run the exe directly, no error and the database created successfully.

So why need it?

msallin commented 4 years ago

This is due to a reference of the EntityFramework NuGet package.

image