ModelObjectItemWizard.BeforeOpeningFile Method (ProjectItem)

 

This method is called before opening any item that has the OpenInEditor attribute This lets us run custom wizard logic before opening an item in the template

Namespace:   Microsoft.Data.Entity.Design.VisualStudio.ModelWizard
Assembly:  Microsoft.Data.Entity.Design (in Microsoft.Data.Entity.Design.dll)

public void BeforeOpeningFile(
	ProjectItem projectItem
)

Parameters

projectItem
Type: EnvDTE.ProjectItem

The project item that will be opened