Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

RADTool Feedback #6340


User avatar
0
martin created

When I used to the tool to add an entity it generated an error in projectDBContext.cs, simple fix of course just want to let you guys know than when you create an entity starting with the letter e it breaks the add-migration and update-database stages. I went with the second letter of the entity as a fix.

            modelBuilder.Entity<Employee>(e =>
            {
                e.HasIndex(e => new { e.TenantId });
            });

To =>

            modelBuilder.Entity<Employee>(m =>
            {
                m.HasIndex(e => new { e.TenantId });
            });

1 Answer(s)