Esempio n. 1
0
        public static Guid CalculateSettlementAggregateId(DateTime settlementDate,
                                                          Guid estateId)
        {
            Guid aggregateId = GuidCalculator.Combine(estateId, settlementDate.ToGuid());

            return(aggregateId);
        }
Esempio n. 2
0
 public static Guid Combine(Guid firstGuid,
                            Guid secondGuid,
                            Guid thirdGuid)
 {
     return(GuidCalculator.Combine(firstGuid, secondGuid, thirdGuid, 0));
 }