private void Initialize(DeleteTestEntityInputDto entity, EntityDependency[] dependencies)
        {
            RegisterCommandRepositoryFactory <TestEntity>(() => new TestEntityCommandRepository());

            RootEntity = new TestEntity
            {
                Id = entity.TestEntityId
            };

            Enqueue(new DeleteEntityCommandOperation <TestEntity>(RootEntity, dependencies));
        }
 public DeleteTestEntityCommandAggregate(DeleteTestEntityInputDto entity, EntityDependency[] dependencies = null) : base(new DomainFramework.DataAccess.RepositoryContext(EntityWithMultiValuedValueObjectConnectionClass.GetConnectionName()))
 {
     Initialize(entity, dependencies);
 }