Código EF Primero, sin tabla edmmetadata
Frecuentes
Visto 2,191 veces
4
I am reading through the book EF Code First by Julie Lerman. In the book, a database is created which contains tables generated from the domain model, as well a table named edmmetadatatable. Apparently, this table is needed for checking if there are any changes made to the other tables.
But, I don't have it. And I don't know how to get it.
One thing I did differently from the book was that I added my own connection string since code first defaults for SQLEXPRESS and I don't have SQLEXPRESS.
1 Respuestas
4
The book is covering Entity Framework 4.2 which uses the EdmMetadata
table. When migrations were introduced in EF 4.3, a __MigrationHistory
table was introduced instead.
Ver aquí para obtener más información.
Respondido 26 ago 12, 14:08
No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas ef-code-first or haz tu propia pregunta.