开发者

Generate Entity domain model from classes

开发者 https://www.devze.com 2023-02-05 04:33 出处:网络
I write my domain classes first. Entity framework allows you to generate code and create a databas开发者_如何学Goe and also generate domain classes. What about generating the entity diagram from the a

I write my domain classes first. Entity framework allows you to generate code and create a databas开发者_如何学Goe and also generate domain classes. What about generating the entity diagram from the already written domain and then generating the database?


You can:

  1. Build classes, then generate a DB, then make a UML model (not an entity model) from your classes (code-first)
  2. Build a model, generate classes, generate a DB (model-first)

But there's nothing built in that precisely matches the flow in your question.

0

精彩评论

暂无评论...
验证码 换一张
取 消