Expose transactions to improve sqlite write performance

This commit is contained in:
John Lewin 2015-02-13 09:03:41 -08:00
parent 1ae47938e5
commit c2f8e9a15e

View file

@ -45,6 +45,8 @@ namespace MatterHackers.MatterControl.DataStorage
List<T> Query<T>(string query, params object[] args) where T : new();
//SQLiteCommand CreateCommand(string cmdText, params object[] ps);
T ExecuteScalar<T>(string query, params object[] args);
int InsertAll(System.Collections.IEnumerable objects);
void RunInTransaction (Action action);
void Close();
}