Exemplo n.º 1
0
 /// <summary>
 /// 关闭连接(长时间保持一个连接操作会导致数据库操作时间逐渐变长)
 /// </summary>
 public override void CloseConnection()
 {
     //COCONET 升级到.net core的过程中注释掉
     //BaseDataContext.Database.Connection.Close();
     dataContext = null;
 }
Exemplo n.º 2
0
 public TenantInfoDbData(SenparcEntitiesMultiTenant senparcEntities)
 {
     dataContext = senparcEntities;
 }