private void Initialize(AddressInputDto address, EntityDependency[] dependencies)
        {
            RegisterCommandRepositoryFactory <Address>(() => new AddressCommandRepository());

            RootEntity = new Address
            {
                Id     = address.AddressId,
                Street = address.Street
            };

            Enqueue(new SaveEntityCommandOperation <Address>(RootEntity, dependencies));
        }
 public SaveAddressCommandAggregate(AddressInputDto address, EntityDependency[] dependencies = null) : base(new DomainFramework.DataAccess.RepositoryContext(SchoolRoleOrganizationAddressConnectionClass.GetConnectionName()))
 {
     Initialize(address, dependencies);
 }