Quantcast
Channel: ADO.NET, Entity Framework, LINQ to SQL, NHibernate
Viewing all articles
Browse latest Browse all 1698

seeding an existing database

$
0
0

Ive created a database using the database first method and generated the poco's from the ado.net entity data model and put them into a separate domain model project in my solution.  I wanted to seed the tables with some intial data but when I try I get tis error message

Model compatibility cannot be checked because the database does not contain model metadata. Model compatibility can only be checked for databases created using Code First or Code First Migrations.

I prefer to model the database using management studio so code first isnt an option.  Is there any way to do this ? Im using EF6


Viewing all articles
Browse latest Browse all 1698

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>