Created a container object to house messages, operation status and the rows added for the methods that add new items and update existing items in the database.

This commit is contained in:
2016-11-10 00:02:15 -06:00
parent 8e140a7131
commit 5d387caecb
12 changed files with 183 additions and 29 deletions
@@ -299,12 +299,15 @@ namespace AdvertsingProfitControl
InvoiceNote = 6,
IsDirty = 7
}
/// <summary>
/// TODO: Push into a stand alone object.
/// </summary>
public enum TrimmingOperationResult
{
FailedToTrim = 0,
CreatedNewInsertionTable = 1,
CreatedUpdateTable = 2,
CreatedNewInsertionAndUpdateTables = 3
CreatedNewInsertionAndUpdateTables = 3,
NoChangesRequired = 4
}
}