Unit of Work
I used your simple example in Spark 4.5 Application Platform to get Unit of Work going.
I used the example in Art Shop (Service.vb) and all inserts work even though an error is generated within the Using statement.
Is there further setup of Unit of Work beyond what is shown in Service.vb?
Joe Meyer, Mar 21, 2016
Yes, we are aware that SPARK is not handling the Unit of Work functionality correctly.
The upcoming VS 2015 / .NET 4.6 / .NET Core 1.0 release will have this corrected.
In the meantime, we wrote a post in this forum on how to correct this (in C#).
It is not too difficult but if you use VB you will need to translate a few lines of C# to VB.
Hope this helps.
Jack Poorte, Apr 04, 2016