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)
-
0
This was reported in https://support.aspnetzero.com/QA/Questions/6320#answer-0793071e-e8ac-648f-8c75-39eb80fe7cd9
This will be fixed in the next release