src/Misc/EFTools/EntityDesign/UI/Views/MappingDetails/MappingDetailsWindow.cs
// <summary>
//     Calls a validation method to check if this entity's MSL is editable by the designer
// </summary>
Calls a validation method to check if this entity's MSL is editable by the designer
Calls a validation method to check if this entity ' s MSL is editable by the designer
private bool CanEditMappingsForEntityType(ConceptualEntityType entityType)
        {
            var errorMessage = string.Empty;
            if (MappingViewModelHelper.CanEditMappingsForEntityType(entityType, ref errorMessage))
            {
                return true;
            }
            else
            {
                SetWatermarkInfo(string.Format(CultureInfo.CurrentCulture, Resources.MappingDetails_ErrMslGeneral, errorMessage));
                return false;
            }
        }
private bool CanEditMappingsForEntityType ( ConceptualEntityType entityType ) { var errorMessage = string . Empty ; if ( MappingViewModelHelper . CanEditMappingsForEntityType ( entityType , ref errorMessage ) ) { return true ; } else { SetWatermarkInfo ( string . Format ( CultureInfo . CurrentCulture , Resources . MappingDetails_ErrMslGeneral , errorMessage ) ) ; return false ; } }
Calls a validation method to check if this entity's MSL is editable by the designer
Calls a validation method to check if this entity ' s MSL is editable by the designer
entityType
ConceptualEntityType