| | |
| | | { |
| | | |
| | | "ConfigId": "default", //多库配置ID |
| | | "ConnectionString": "Server=.;Database=CY_DocumentSystemOnline;User ID=sa;Password=123456;", |
| | | "ConnectionString": "Server=localhost\\SQLEXPRESS;Database=CY_DocumentSystemOnline;User ID=sa;Password=123456;", |
| | | "DbType": "SqlServer", |
| | | "IsAutoCloseConnection": true |
| | | |
| | |
| | | { |
| | | |
| | | "ConfigId": "zhengcaioa", //多库配置ID |
| | | "ConnectionString": "Server=.;Database=zhengcaioa55;User ID=sa;Password=123456;", |
| | | "ConnectionString": "Server=localhost\\SQLEXPRESS;Database=zhengcaioa55;User ID=sa;Password=123456;", |
| | | "DbType": "SqlServer", |
| | | "IsAutoCloseConnection": true |
| | | |
| | |
| | | } |
| | | ], |
| | | |
| | | "isCodeFirst": false, //是否执行codefirst 注意这个在迁徙完成后应该设置为false 防止更改数据库 |
| | | "isCodeFirst": true, //是否执行codefirst 注意这个在迁徙完成后应该设置为false 防止更改数据库 |
| | | //请保持redis为正常可用 |
| | | "RedisConfig": { |
| | | // 如果采用容器化部署Service 要写成redis的服务名,否则写地址 |