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

            RegisterCommandRepositoryFactory <TestEntity_TypeValues1_CommandRepository.RepositoryKey>(() => new TestEntity_TypeValues1_CommandRepository());

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

            foreach (var dto in typeValue.TypeValues1)
            {
                var typeValueValueObject = new TypeValue
                {
                    DataType = dto.DataType,
                    Data     = dto.Data
                };

                Enqueue(new AddLinkedValueObjectCommandOperation <TestEntity, TypeValue, TestEntity_TypeValues1_CommandRepository.RepositoryKey>(RootEntity, typeValueValueObject));
            }
        }
 public AddTypeValue1CommandAggregate(AddTypeValues1InputDto typeValue, EntityDependency[] dependencies = null) : base(new DomainFramework.DataAccess.RepositoryContext(EntityWithMultiValuedValueObjectConnectionClass.GetConnectionName()))
 {
     Initialize(typeValue, dependencies);
 }