src/Misc/EFTools/EntityDesignModel/Commands/ChangeFunctionImportCommand.cs
/// <summary>
///     Update function import name if changed.
/// </summary>
Update function import name if changed.
Update function import name if changed .
private void UpdateFunctionImportName()
        {
            var functionImportMapping = FunctionImport.FunctionImportMapping;
            if (String.Compare(FunctionImportName, FunctionImport.LocalName.Value, StringComparison.OrdinalIgnoreCase) != 0)
            {
                FunctionImport.LocalName.Value = FunctionImportName;
                AddToBeNormalizedEFContainerItem(FunctionImport);
                if (functionImportMapping != null)
                {
                    functionImportMapping.FunctionImportName.SetRefName(FunctionImport);
                    AddToBeNormalizedEFContainerItem(functionImportMapping);
                }
            }
        }
private void UpdateFunctionImportName ( ) { var functionImportMapping = FunctionImport . FunctionImportMapping ; if ( String . Compare ( FunctionImportName , FunctionImport . LocalName . Value , StringComparison . OrdinalIgnoreCase ) != 0 ) { FunctionImport . LocalName . Value = FunctionImportName ; AddToBeNormalizedEFContainerItem ( FunctionImport ) ; if ( functionImportMapping != null ) { functionImportMapping . FunctionImportName . SetRefName ( FunctionImport ) ; AddToBeNormalizedEFContainerItem ( functionImportMapping ) ; } } }
Update function import name if changed.
Update function import name if changed .
// Update Function-Import name if updated.