Created
March 25, 2019 18:21
-
-
Save wickdninja/35f96681627260c6ebe24d1eaa490245 to your computer and use it in GitHub Desktop.
Get Aggregate
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Test] | |
public void Get_Aggregates() | |
{ | |
var ids = new List<string> | |
{ | |
"GUID_HERE" | |
}; | |
foreach (var id in ids) | |
{ | |
using (var uow = UnitOfWork.Create()) | |
{ | |
var aggregate = Factory.GetById<TODO_TYPE_HERE>(new Guid(id)); | |
// aggregatge.DoSomething(); | |
//uow.Accept(); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment