문제

I am trying to change a t4 template to generate an interface file for each entity. I want these entities to implement the generated interfaces. All the properties including the complex properties should be exposed in the interface. Is there some way to do this?

도움이 되었습니까?

해결책

Entity Interface Generator

https://entityinterfacegenerator.codeplex.com

This project contains customized T4 templates which can generate interfaces and attributes for the DbContext class and entity classes.

Note: If this answer is correct, please mark it as good answer. Otherwise, it could be wrongly marked as spam due to the use of the external link in most of my answers.

Thanks

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top