Changeset 2 for Common/Database.cs
- Timestamp:
- Feb 14, 2019, 5:29:40 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Common/Database.cs
r1 r2 94 94 } 95 95 96 p rivatestatic DbConnection GetConnection()96 public static DbConnection GetConnection() 97 97 { 98 98 DbConnection connection = GetFactory().CreateConnection(); … … 529 529 public void ExecuteQueries() 530 530 { 531 #if SSS531 #if NO_TRANSACTION 532 532 foreach (Query item in queries) 533 533 { 534 534 Database.ExecuteNonQuery(item.query, item.parameters); 535 535 } 536 #e ndif536 #else 537 537 lock (threadQueries) 538 538 { … … 540 540 Monitor.Pulse(threadQueries); 541 541 } 542 #endif 542 543 queries.Clear(); 543 544 }
Note:
See TracChangeset
for help on using the changeset viewer.