Reputation: 16155
Is there a way to add a custom property to the Properties window for an entity Entity Framework designer? I've extended the T4 files to auto generate some repositories but I only want to do that if an entity is an Aggregate Root. I'd love to add a True/False "Is Aggregate Root" property for entities....
Upvotes: 1
Views: 186
Reputation: 364399
Yes it is possible through extensibility. The book Entity framework 4 in Action contains whole part about different extensions for EF designer and code generation. There is also project which should simplify process of extension creations.
Upvotes: 2