src/Misc/EFTools/EntityDesignPackage/CustomCode/MicrosoftDataEntityDesignPackage.cs
/// <summary>
///     This method is called by the docdata whenever the inherent filename changes. Clients should not call this
///     method directly; they should subscribe to MicrosoftDataEntityDesignPackage.FileNameChanged event.
/// </summary>
/// <param name="oldFileName"></param>
/// <param name="newFileName"></param>
This method is called by the docdata whenever the inherent filename changes. Clients should not call this
method directly; they should subscribe to MicrosoftDataEntityDesignPackage.FileNameChanged event.
This method is called by the docdata whenever the inherent filename changes . Clients should not call this method directly ; they should subscribe to MicrosoftDataEntityDesignPackage . FileNameChanged event .
public void OnFileNameChanged(string oldFileName, string newFileName)
        {
            var args = new ModelChangeEventArgs();
            args.OldFileName = oldFileName;
            args.NewFileName = newFileName;
            FileNameChanged(this, args);
        }
public void OnFileNameChanged ( string oldFileName , string newFileName ) { var args = new ModelChangeEventArgs ( ) ; args . OldFileName = oldFileName ; args . NewFileName = newFileName ; FileNameChanged ( this , args ) ; }
This method is called by the docdata whenever the inherent filename changes.
This method is called by the docdata whenever the inherent filename changes .
oldFileName
string
None
newFileName
string
None