This project is read-only.

Code generation of AggregateModel class


Text templates are required to turn the AggregateModel class into a .vb or .cs class implementing that aggregate, with the name and description as specified in the model.


Merrion wrote Nov 7, 2015 at 4:06 PM


1) Illegal namespace possible e.g. "Football League.Game"
2) In parameter constructor wrong data type and private backing variable used (_Key = Key_In)
3) SetKey no code content

Merrion wrote Nov 16, 2015 at 10:09 PM

(above issues resolved)

4) No code in "GetAggregateIdentifier() As String"
5) If key type is GUID the constructor gets an Object not a GUID

Merrion wrote Dec 3, 2015 at 7:47 AM

(issue 5 resolved)

6) Add a private IEventStream instance
7) Add static methods for each event to turn it into a "ubiquitous language" method