1

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....

devlife
  • 15,275
  • 27
  • 77
  • 131

1 Answers1

2

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.

Ladislav Mrnka
  • 360,892
  • 59
  • 660
  • 670
  • Any idea how to get started with Visual Studio 2012? The project you're linking to exists only for VS2010. I managed to install it into VS2012, but the properties do not appear in the Entity Designer. – Jonas Sourlier Aug 16 '13 at 15:28