.net core使用ConfigurationBuilder读取配置文件

主要就是SetBasePath设置一个你想要获取配置文章所在的项目privatestaticIConfigurationRootBuildConfiguration(...
A relational store has been configured without specifying either the DbConnection or connection stri

abp vnext使用Mysql报错:在项目中使用了最新的mysql 相关的引入出现这样的错误: “A relational store has bee...
领域启动设计DDD 应用服务与领域服务区别

1.领域服务和Application Services 是不同的,Application Services 返回的是DTO,而领域服务返回的是领域对象(...
abp vnext 通用仓储,操作空引用。abp vnext 仓储报错,仓储为空

An internal error occurred during your request!
abp vnext 通用仓储依赖注入拿到为空,或者能正常拿到依赖注...
python 列表list

python 列表list
'''
list
'''
## 申明
list1 = ['a','m','...
Unable to create an object of type 'DbContext'. For the different patterns supported at design time

如果在做EFCore migration时碰到如下错误:Unable to create an object of type ‘DbContext’. For the differe...
mysql外键约束

添加外键约束语法
alter table employee add CONSTRAINT fk_UserClass_Employee_Id FOREIGN key (classId) RE...
mysql流程控制函数

第一种:匹配具体的值
-- case when
select username,sex,age,country,
case country
when '蜀国...