src/Misc/EFTools/EntityDesignDataSourceWizardExtension/EdmDataSourceWizardEngine.cs
/// <summary>
///     Return true if the wizard engine to reconfigure project item.
/// </summary>
Return true if the wizard engine to reconfigure project item.
Return true if the wizard engine to reconfigure project item .
bool IDataSourceWizardEngine.CanConfigureExisting(ProjectItem targetItem)
        {
            if (targetItem != null
                && !String.IsNullOrEmpty(targetItem.Name)
                && targetItem.Name.EndsWith(EdmxFileExtension, StringComparison.OrdinalIgnoreCase))
            {
                return true;
            }
            return false;
        }
bool IDataSourceWizardEngine . CanConfigureExisting ( ProjectItem targetItem ) { if ( targetItem != null && ! String . IsNullOrEmpty ( targetItem . Name ) && targetItem . Name . EndsWith ( EdmxFileExtension , StringComparison . OrdinalIgnoreCase ) ) { return true ; } return false ; }
Return true if the wizard engine to reconfigure project item.
Return true if the wizard engine to reconfigure project item .
// this method is called frequently to determine whether wizard item should be displayed or not. // So we should not do heavy processing here.
targetItem
ProjectItem