Selaa lähdekoodia

!736 update Admin.NET/Admin.NET.Core/SqlSugar/SqlSugarRepository.cs.
Merge pull request !736 from ileego/N/A

zuohuaijun 2 vuotta sitten
vanhempi
commit
467e53ed9b
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  1. 2 1
      Admin.NET/Admin.NET.Core/SqlSugar/SqlSugarRepository.cs

+ 2 - 1
Admin.NET/Admin.NET.Core/SqlSugar/SqlSugarRepository.cs

@@ -55,7 +55,8 @@ public class SqlSugarRepository<T> : SimpleClient<T> where T : class, new()
                 ConfigId = tenant.Id,
                 DbType = tenant.DbType,
                 IsAutoCloseConnection = true,
-                ConnectionString = tenant.Connection
+                ConnectionString = tenant.Connection,
+                EnableUnderLine = mainConnConfig.EnableUnderLine,
             };
             iTenant.AddConnection(connectionConfig);
             SqlSugarSetup.SetDbConfig(connectionConfig);