I am new to programming so please be kind. Visual studio automates some source code for you like when adding a database. Dbcontext has some virtual function that can be overwritten such as savechanges. I have several different classes that extend Dbcontext, all partial classes. How would I implement the same functionality across these different entities?
Asked
Active
Viewed 25 times
0
1 Answers
0
You can extend DbContext to create a new abstract class, and then change your existing partial classes to extend from that new class.

Jared Dykstra
- 3,596
- 1
- 13
- 25