0

I'm using C# asp.net core ef6 linq mssql VS2022

when I build the project I can see this page jsonserializationexception

I checked these pages... 2 3

the 2's JsonIgnore was worked but I have problem.

I using ef core power tools ef core power tools and ef core help me when I update the DB ef core auto generate the Model...

So JsonIgnore is deleting when I reverse Engineering ( It meens updating DB )

now I'm making viewModel of all the model... and I need to make over 30 ... could you help me...?

nyny
  • 23
  • 4

1 Answers1

0

I successfully addressed it by utilizing the AsNoTracking() method.

Foggzie
  • 9,691
  • 1
  • 31
  • 48
nyny
  • 23
  • 4