public TestEntity CreateEntity(TestEntityId id) { var evnt = new TestCreateEntityEvent(id); Apply(evnt); var entity = new TestEntity(this, id); return(entity); }
public TestEntity(TestAggregateRoot root, TestEntityId entityId) : base(root, entityId) { }
public void CreateEntity(TestEntityId id) { var evnt = new TestCreateEntityEvent(id); Apply(evnt); }
public void MakePublicEvent(TestEntityId id) { throw new NotImplementedException(); }
public TestCreateEntityEvent(TestEntityId entityId) { this.EntityId = entityId; }