internal void AddStageOperations(IEnumerable<StageOperation> newStageOperations)
{
lock (this)
{
BeginTransaction();
try
{
foreach (var x in newStageOperations)
Insert(x);
Commit();
}
catch (Exception e)
{
Rollback();
throw new Exception("Unable to add stage operations!", e);
}
}
}