src/Misc/EFTools/EntityDesign/VisualStudio/ModelWizard/ModelObjectItemWizard.cs
/// <summary>
///     This method is only called for item templates, not for project templates
/// </summary>
/// <param name="projectItem">This API supports the Entity Framework infrastructure and is not intended to be used directly from your code.</param>
This method is only called for item templates, not for project templates
This method is only called for item templates not for project templates
public void ProjectItemFinishedGenerating(ProjectItem projectItem)
        {
            Debug.Assert(
                VSArtifact.GetVSArtifactFileExtensions()
                    .Concat(new[] { FileExtensions.CsExt, FileExtensions.VbExt })
                    .Contains(Path.GetExtension(projectItem.Name)),
                "Unexpected file extension for project item");
            if (string.Equals(Path.GetExtension(projectItem.Name), EntityDesignArtifact.ExtensionEdmx, StringComparison.OrdinalIgnoreCase))
            {
                _edmxItem = projectItem;
            }
        }
public void ProjectItemFinishedGenerating ( ProjectItem projectItem ) { Debug . Assert ( VSArtifact . GetVSArtifactFileExtensions ( ) . Concat ( new [ ] { FileExtensions . CsExt , FileExtensions . VbExt } ) . Contains ( Path . GetExtension ( projectItem . Name ) ) , " " ) ; if ( string . Equals ( Path . GetExtension ( projectItem . Name ) , EntityDesignArtifact . ExtensionEdmx , StringComparison . OrdinalIgnoreCase ) ) { _edmxItem = projectItem ; } }
This method is only called for item templates, not for project templates
This method is only called for item templates not for project templates
projectItem
ProjectItem
This API supports the Entity Framework infrastructure and is not intended to be used directly from your code.
This API supports the Entity Framework infrastructure and is not intended to be used directly from your code .