0
rbreton created
Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)
6 Answer(s)
-
0
is your project building successfully?
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
yes it
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
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.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
@cyklussoftware thanks for reporting. It will be fixed.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
@yekalkan thanks. This worked.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image)