private static ComplexProperty CreateComplexPropertyUsingFragment(
            MappingFragment mappingFragment, ComplexConceptualProperty property)
        {
            // make sure that we don't already have one
            var cp = mappingFragment.FindComplexProperty(property);

            if (cp == null)
            {
                cp = CreateNewComplexProperty(mappingFragment, property);
                mappingFragment.AddComplexProperty(cp);
            }
            return(cp);
        }