能否给class,property都加上tableAttribute和ColumnAttribute,包括KeyAttribute
a157147899 opened this issue · 2 comments
a157147899 commented
能否给class,property都加上tableAttribute和ColumnAttribute,包括KeyAttribute,这样生成出来的Model,应该场景更广泛,也便于扩展
issue-label-bot commented
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.
WeihanLi commented
可以的
后面也可以自己实现一个
IModelCodeGenerator
,然后将 dll 放在执行目录下的 plugins 目录下,启动时会自动扫描 plugins 目录并自动注册相应的服务,目前还没 nuget 包,需要后面发布一个DbTool.Core
的 nuget 包