用dotnet run命令运行一个ASP.NET Core项目时出现如下的错误:
System.Data.SqlClient.SqlException: CREATE DATABASE statement not allowed within multi-statement transaction. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)