Browse Source

Update Queue

pull/12/MERGE
sunkaixuan 6 years ago
parent
commit
43fc65edb4
  1. 2
      Src/Asp.Net/SqlSugar/Abstract/SugarProvider/SqlSugarProvider.cs

2
Src/Asp.Net/SqlSugar/Abstract/SugarProvider/SqlSugarProvider.cs

@ -886,7 +886,7 @@ namespace SqlSugar
}
this.Queues.Add(sql, parsmeters);
}
public QueueList Queues { get =>_Queues??new QueueList(); set => _Queues = value; }
public QueueList Queues { get { if (_Queues == null) { _Queues = new QueueList(); } return _Queues; } set => _Queues = value; }
private T SaveQueuesProvider<T>(bool isTran, Func<string, List<SugarParameter>, T> func)
{

Loading…
Cancel
Save