/// <summary>
        ///     Creates a ReferentialConstraint in the association that was created by the prereq command.
        /// </summary>
        /// <param name="prereq"></param>
        /// <param name="principalProperties"></param>
        /// <param name="dependentProperties"></param>
        internal CreateReferentialConstraintCommand(
            CreateStorageAssociationCommand prereq,
            IEnumerable <Property> principalProperties, IEnumerable <Property> dependentProperties)
        {
            ValidatePrereqCommand(prereq);

            PrincipalProperties = principalProperties;
            DependentProperties = dependentProperties;

            AddPreReqCommand(prereq);
        }
        /// <summary>
        ///     Creates a ReferentialConstraint in the association that was created by the prereq command.
        /// </summary>
        /// <param name="prereq"></param>
        /// <param name="principalProperties"></param>
        /// <param name="dependentProperties"></param>
        internal CreateReferentialConstraintCommand(
            CreateStorageAssociationCommand prereq,
            IEnumerable<Property> principalProperties, IEnumerable<Property> dependentProperties)
        {
            ValidatePrereqCommand(prereq);

            PrincipalProperties = principalProperties;
            DependentProperties = dependentProperties;

            AddPreReqCommand(prereq);
        }