-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error The entity type AuditLog is not part of the model for the current context #152
Comments
Just create manually the tables or you can create a configuration files to override the default table configuration like: public class CustomTraceAuditLogConfiguration : EntityTypeConfiguration And add the configuration to your Context in your OnModelCreating method: modelBuilder.Configurations.Add(new CustomTraceAuditLogConfiguration()); |
Sorry @Bemjamin , i follow your step but it still don't work, i already create a table 1st but don't work, next i build a configuration files to override the default table configuration but it still run into error: |
Can you show your dbcontext class? I did this at work and it is working. |
Here @Bemjamin |
Well, the differences are:
I hope it helps. |
Hi, was this ever resolved - I'm having the same issue here. Thanks. |
I am also facing the same issue. Any solution? |
Hello sir, big fan of your work but I ran in to this error, I build a project using asp.net with Entity Framework, I already install your tracker like 4-steps-tut (very easy to install..), but when I run project, right after db.SaveChanges() code got this error : "The entity type AuditLog is not part of the model for the current context " ..
Any ideas to fix this sir?...thank you so much.
The text was updated successfully, but these errors were encountered: