小见

EFCore动态修改数据库连接字符串

电脑版发表于:2020/6/13 22:04

code:

context.Database.GetDbConnection().ConnectionString ="数据库连接字符串"


关于TNBLOG
TNBLOG,技术分享。技术交流:群号677373950
ICP备案 :渝ICP备18016597号-1
App store Android
精彩评论
{{item.replyName}}
{{item.content}}
{{item.time}}
{{subpj.replyName}}
@{{subpj.beReplyName}}{{subpj.content}}
{{subpj.time}}
猜你喜欢