文档:https://docs.abp.io/zh-Hans/abp
abp默认管理员:admin,密码:123qwe,这是写死的,xxx.Core\Authorization\Users\User.cs 行数:10
1.先在Core项目中建立模型
Models》Model.cs/ModelManager.cs

2.在Application中建立接口和具体类:
IModelAppService.cs
ModelAppService.cs
建立Dto和QueryInput类
ModelDto/ModelQueryInput

3.在EntityFramework的DbContext.cs类中,注册数据表,然后执行对应的migration命令更新数据库
public virtual IDbSet<Articles.Article> Articles { get; set; }

查看所有接口

http://localhost:6234/api/AbpServiceProxies/GetAll?type=angular

swagger:http://localhost:6234/apis/index

多数据库:

abp框架多数据库:
A56.WMS.EntityFramework中:
增加:对应的 DbContext.cs
增加:对应的 /EntityFramework/Repositories/DbRepositoryBase.cs
增加:对应的 Migrations文件夹,在文件夹里增加 Configuration.cs

4.创建实体可以继承的几个:FullAuditedEntity<long>:增删改的时间和用户id, IMustHaveTenant:增加TenantId多租户, IPassivable:启用禁用IsActive


https://www.cnblogs.com/LmuQuan/p/9122143.html

http://www.cnblogs.com/farb/p/ModuleZeroContent.html

http://www.cnblogs.com/farb/p/4849791.html

http://www.cnblogs.com/farb/p/modulezeroInstall.html

http://www.mamicode.com/info-detail-2320070.html

http://www.bubuko.com/infodetail-2594809.html

http://www.cnblogs.com/1zhk/p/5456389.html

https://www.cnblogs.com/farb/p/moduleZeroUserManagement.html

http://www.cnblogs.com/mienreal/p/4687789.html

AbpSession管理:http://www.cnblogs.com/mienreal/p/4561235.html

自定义过滤器:http://www.cnblogs.com/farb/p/ABPDataFilters.html

https://www.cnblogs.com/Wddpct/p/5919507.html

ABP框架使用Mysql:

https://github.com/ABPFrameWorkGroup/AbpDocument2Chinese/blob/master/Markdown/Abp/9.4ABP%E5%9F%BA%E7%A1%80%E8%AE%BE%E6%96%BD%E5%B1%82-%E9%9B%86%E6%88%90EntityFrameworkMySql.md

https://www.cnblogs.com/ixysy/p/6219719.html

添加左侧菜单:https://blog.csdn.net/ysj1163620987/article/details/54909635
ABP入门系列(16)——通过webapi与系统进行交互:https://www.jianshu.com/p/d14733432dc2
ABP中文文档:https://github.com/ABPFrameWorkGroup/AbpDocument2Chinese/tree/master/Markdown
ABP模板下载:https://aspnetboilerplate.com/Templates

posted on 2018-08-02 17:39  邢帅杰  阅读(897)  评论(0编辑  收藏  举报