خرید بک لینک

Vote count: 0

My development machine has multiple versions of localdb. After ruing an initial EF migration the database was created in (localdb)MSSQLLocalDB (SQL Server 12.0.4213...). I expected it to land in (localdb)v11.0 (SQL Server 11.0.3000...).

The coectionString in App.config is

<add name="HomeCinemaDan" coectionString="Data Source=(LocalDb)v11.0;Initial Catalog=HomeCinemaDan;Integrated Security=SSPI; MultipleActiveResultSets=true" providerName="System.Data.SqlClient" /> What configuration line does ef migrations read to determine which db version to install to?

Background: I'm following this tutorial and I've reached the end of the Data Repositories segment (I'm at the line that reads update-database -verbose). I've changed the database name to HomeCinemaDan.

asked 1 min ago

برچسب: نویسنده: استخدام کار تاريخ: دوشنبه 20 ارديبهشت 1395 ساعت: 22:59

صفحه بندی