Vijay Patil

Results 3 comments of Vijay Patil

**Fix:** Get over the issue by suppressing the warning which is treated as an error: ``` protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) { optionsBuilder.ConfigureWarnings(w => w.Ignore(RelationalEventId.PendingModelChangesWarning)); } ```

Have you tried [NotMapped] Data annotation on the password field? You never save the user password as a standard.

I see what you are trying to do. Can you use two different classes (standard practice), UserEntity and UserDTO. List users = Load("data.json"); foreach user in users{ UserEntity entity =...