This commit is contained in:
Zero look 2021-08-19 11:45:05 +08:00
parent 74149c51dd
commit 35a332c126

View File

@ -177,7 +177,7 @@ namespace FreeSql
type = type.MakeGenericType(typeof(TMark)); type = type.MakeGenericType(typeof(TMark));
} }
else else
{ {
Action<string, string> throwNotFind = (dll, providerType) => throw new Exception($"缺少 FreeSql 数据库实现包:{dll},可前往 nuget 下载;如果存在 {dll} 依然报错(原因是环境问题导致反射不到类型),请在 UseConnectionString/UseConnectionFactory 第三个参数手工传入 typeof({providerType})"); Action<string, string> throwNotFind = (dll, providerType) => throw new Exception($"缺少 FreeSql 数据库实现包:{dll},可前往 nuget 下载;如果存在 {dll} 依然报错(原因是环境问题导致反射不到类型),请在 UseConnectionString/UseConnectionFactory 第三个参数手工传入 typeof({providerType})");
switch (_dataType) switch (_dataType)
{ {