devlife
devlife

Reputation: 16155

How to add a property to the Properties window in the Entity Framework Designer

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

Answers (1)

Ladislav Mrnka
Ladislav Mrnka

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

Related Questions