DoMain引用类库问题
新创建的模块是怎么关联到Admin模块中的实体类的,比如在Repositories中写表关联查询数据,联查Admin库中的account表。 新的仓储using NetModular.Module.Admin.Domain.Account; 新模块中的Domian已经没有Admin中的实体了。 是通过引用的Netmodular.Module.Admin.Domain包吗
是的,安装 Netmodular.Module.Admin.Domain 就行了
这样的话项目跑起来虽然也有相关的swagger接口,是不是新模块没法改动相关的admin逻辑代码,只能调用。比如说我想在用户管理页面列表多关联一个字段,但是新模块里没有相应的admin 用户仓储,只能改动现有模块
2198668022
邮箱:[email protected]
在2020年12月25日 18:47,OLDLI 写道:
是的,安装 Netmodular.Module.Admin.Domain 就行了
—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.
[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/iamoldli/NetModular/issues/88#issuecomment-751231068",
"url": "https://github.com/iamoldli/NetModular/issues/88#issuecomment-751231068",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]