mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-04-22 10:42:52 +08:00
This commit is contained in:
parent
e01e085e80
commit
74149c51dd
@ -173,12 +173,12 @@ namespace FreeSql
|
||||
var type = _providerType;
|
||||
if (type != null)
|
||||
{
|
||||
if (type.IsGenericTypeDefinition)
|
||||
type = type.MakeGenericType(typeof(TMark));
|
||||
}
|
||||
else
|
||||
if (type.IsGenericTypeDefinition)
|
||||
type = type.MakeGenericType(typeof(TMark));
|
||||
}
|
||||
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)
|
||||
{
|
||||
case DataType.MySql:
|
||||
|
Loading…
x
Reference in New Issue
Block a user