Preview of useful design-time features for DbContext.
When right-clicking on a C# project, the following context menu function is supported:
1) Reverse Engineer Code First - Generates POCO classes, derived DbContext and Code First mapping for an existing database.
Great Plugin for Visual Studio. Great way for generating the Entity Framework Context of multiple databases. I was able to use this to help generate the Models to work with our older systems. There is certainly some room for improvement with this tool.
Given that our databases have been around for a long time and do not follow the typical EF conventions it had a difficult time creating some of the models and properties as it made no modifications. This resulted in the use of reserved words for classes and properties.
This would be a 5 star tool if it were updated to work with EF6.x, and had logic to alter names so that table_name becomes TableName, and table_name_id becomes TableNameId.
Does not function properly with ASP.NET Identity framework when attempting to generate EDMX diagram.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeLoadException: Could not load type 'System.ComponentModel.DataAnnotations.Schema.IndexAttribute' from assembly 'EntityFramework, Version=18.104.22.168, Culture=neutral, PublicKeyToken=b77a5c561934e089'. at Microsoft.AspNet.Identity.EntityFramework.IdentityDbContext`6.OnModelCreating(DbModelBuilder modelBuilder)