Generate interfaces for conetxt and entity classes
Generate interfaces for purposes of testing.
16
votes
AdminDevart
(_, Devart)
shared this idea
-
Stephen Spady commented
This is easy to do simply by editing the templates slightly. It is fairly straightforward to do whatever you want to in those templates in my experience.
-
mnieto commented
Not only for testing. With entities, intefaces can be used for generic templates like
public Form CreateForm<T>() where T : IEntity