From b96dd4186d0ea398014709398fe3c091cccc857e Mon Sep 17 00:00:00 2001 From: Xavier John Date: Wed, 16 Nov 2022 18:35:24 -0800 Subject: [PATCH] Add AggregateRoot --- .../AggregateRoot/AggregateRoot.cs | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 CSharpFunctionalExtensions/AggregateRoot/AggregateRoot.cs diff --git a/CSharpFunctionalExtensions/AggregateRoot/AggregateRoot.cs b/CSharpFunctionalExtensions/AggregateRoot/AggregateRoot.cs new file mode 100644 index 00000000..8a9ddcc1 --- /dev/null +++ b/CSharpFunctionalExtensions/AggregateRoot/AggregateRoot.cs @@ -0,0 +1,10 @@ +namespace CSharpFunctionalExtensions +{ + public abstract class AggregateRoot : Entity + where TId : notnull + { + protected AggregateRoot(TId id) : base(id) + { + } + } +}