How to register a custom EF Code First migration operation for scaffolding?

.net c# ef-migrations entity-framework entity-framework-6

Popular Answer

With EF 6.1, this is now possible:

By extending Annotations in Code First, you can annotate tables and columns before hooking into the scaffolding procedures.SqlServerMigrationSqlGenerator Then alter the scaffolding in accordance with the attributes you specify.

3
4/2/2014 3:38:21 PM


Related Questions





Related

Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow