src/Misc/EFTools/EntityDesign/UI/Views/MappingDetails/MappingDetailsWindow.cs
// <summary>
//     Calls a validation method to check if this association's MSL is editable by the designer
// </summary>
Calls a validation method to check if this association's MSL is editable by the designer
Calls a validation method to check if this association ' s MSL is editable by the designer
internal bool CanEditMappingsForAssociation(Association association, bool allowAssociationMappingEditWithFKs)
        {
            if (association == null)
            {
                throw new ArgumentNullException("association");
            }
            TreeGridDesignerWatermarkInfo watermarkInfo = null;
            if (MappingViewModelHelper.CanEditMappingsForAssociation(
                association, MappingDetailsWindowContainer, ref watermarkInfo, allowAssociationMappingEditWithFKs))
            {
                return true;
            }
            else
            {
                Debug.Assert(watermarkInfo != null, "watermark should not be null");
                if (watermarkInfo != null)
                {
                    SetWatermarkInfo(watermarkInfo);
                }
                return false;
            }
        }
internal bool CanEditMappingsForAssociation ( Association association , bool allowAssociationMappingEditWithFKs ) { if ( association == null ) { throw new ArgumentNullException ( " " ) ; } TreeGridDesignerWatermarkInfo watermarkInfo = null ; if ( MappingViewModelHelper . CanEditMappingsForAssociation ( association , MappingDetailsWindowContainer , ref watermarkInfo , allowAssociationMappingEditWithFKs ) ) { return true ; } else { Debug . Assert ( watermarkInfo != null , " " ) ; if ( watermarkInfo != null ) { SetWatermarkInfo ( watermarkInfo ) ; } return false ; } }
Calls a validation method to check if this association's MSL is editable by the designer
Calls a validation method to check if this association ' s MSL is editable by the designer
association
Association
allowAssociationMappingEditWithFKs
bool