mirror of
https://github.com/anjoy8/Blog.Core.git
synced 2025-02-08 02:39:26 +08:00
Updated support db (markdown)
parent
c0e82fa191
commit
fa4bd3478a
|
@ -1,3 +1,7 @@
|
|||
## 提醒
|
||||
|
||||
> 目前的单数据库,使用哪个,就把哪个Db 的 Enabled 设置为 true,其他的设置为 false。
|
||||
|
||||
### Sqlite
|
||||
|
||||
```
|
||||
|
@ -9,4 +13,19 @@ appsettings.json 中配置:
|
|||
},
|
||||
|
||||
|
||||
```
|
||||
|
||||
|
||||
### SqlServer
|
||||
|
||||
```
|
||||
appsettings.json 中配置:
|
||||
|
||||
"SqlServer": {
|
||||
"Enabled": true,
|
||||
"SqlServerConnection": "Server=.;Database=WMBlogDB;User ID=sa;Password=123;",
|
||||
"ProviderName": "System.Data.SqlClient"
|
||||
},
|
||||
|
||||
|
||||
```
|
Loading…
Reference in New Issue
Block a user