0
rbreton created
6 Answer(s)
-
0
is your project building successfully?
-
0
yes it
-
0
@alper @rbreton This probably isn't related, but there was an issue that I came across the other day while generating an Entity called EventCategory.
This was the problematic code before:
modelBuilder.Entity<EventCategory>(e => { e.HasIndex(e => new { e.TenantId }); });
And after I changed the name of my entity:
modelBuilder.Entity<SchoolEventCategory>(s => { s.HasIndex(e => new { e.TenantId }); });
The tool picks what to call the first variable based on the first letter of the entity name. So if anything starts with E, there will be a compile error.
So, like I said, it's unrelated but a problem.
@rbreton Did you try building your project after generating all of the code? The specific error would likely show up then.
-
0
@cyklussoftware thanks for reporting. It will be fixed.
-
0
@yekalkan thanks. This worked.