src/EntityFramework/Core/Mapping/ComplexTypeMapping.cs
// <summary>
// Add a condition property mapping as a child of this complex property mapping
// Condition Property Mapping specifies a Condition either on the C side property or S side property.
// </summary>
// <param name="conditionPropertyMap"> The Condition Property mapping that needs to be added </param>
Add a condition property mapping as a child of this complex property mapping
Condition Property Mapping specifies a Condition either on the C side property or S side property.
Add a condition property mapping as a child of this complex property mapping Condition Property Mapping specifies a Condition either on the C side property or S side property .
internal void AddConditionProperty(
            ConditionPropertyMapping conditionPropertyMap, Action<EdmMember> duplicateMemberConditionError)
        {
            var conditionMember = (conditionPropertyMap.Property != null)
                                      ? conditionPropertyMap.Property
                                      : conditionPropertyMap.Column;
            Debug.Assert(conditionMember != null);
            if (!m_conditionProperties.ContainsKey(conditionMember))
            {
                m_conditionProperties.Add(conditionMember, conditionPropertyMap);
            }
            else
            {
                duplicateMemberConditionError(conditionMember);
            }
        }
internal void AddConditionProperty ( ConditionPropertyMapping conditionPropertyMap , Action < EdmMember > duplicateMemberConditionError ) { var conditionMember = ( conditionPropertyMap . Property != null ) ? conditionPropertyMap . Property : conditionPropertyMap . Column ; Debug . Assert ( conditionMember != null ) ; if ( ! m_conditionProperties . ContainsKey ( conditionMember ) ) { m_conditionProperties . Add ( conditionMember , conditionPropertyMap ) ; } else { duplicateMemberConditionError ( conditionMember ) ; } }
Add a condition property mapping as a child of this complex property mapping
Condition Property Mapping specifies a Condition either on the C side property or S side property.
Add a condition property mapping as a child of this complex property mapping Condition Property Mapping specifies a Condition either on the C side property or S side property .
//Same Member can not have more than one Condition with in the  //same Complex Type.
conditionPropertyMap
ConditionPropertyMapping
The Condition Property mapping that needs to be added
The Condition Property mapping that needs to be added
duplicateMemberConditionError
Action<EdmMember>