Is it possible to to create an EF entity that allows your to create records but disable update and deletes. I have data object that I want to allow code to create records in DB but they should not be allowed to change or delete them. I’m using EF code first approach.
Share
Yes you can override the
SaveChangesmethod of yourDbContextand can prevent that.