WeihanLi/DbTool

能否给class,property都加上tableAttribute和ColumnAttribute,包括KeyAttribute

a157147899 opened this issue · 2 comments

能否给class,property都加上tableAttribute和ColumnAttribute,包括KeyAttribute,这样生成出来的Model,应该场景更广泛,也便于扩展

Issue-Label Bot is automatically applying the label feature_request to this issue, with a confidence of 0.57. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

可以的

后面也可以自己实现一个 IModelCodeGenerator ,然后将 dll 放在执行目录下的 plugins 目录下,启动时会自动扫描 plugins 目录并自动注册相应的服务,目前还没 nuget 包,需要后面发布一个 DbTool.Core 的 nuget 包