.net core获取数据库连接 抛出The type initializer to throw an exception

NoSuchKey