Making Entity framework implement an interface

Presumably the generated entity classes are partial classes, correct?

If so, you can just add your own partial class files to specify the interfaces to be implemented – and to provide any actual implementation methods you need. I suspect that will be a lot simpler than changing what gets generated.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)