ModelObjectItemWizard Class
Visual Studio invokes this wizard when a new item of type "ADO.NET Entity Data Model" is added to an existing project. This wizard is registered in the .vstemplate file item template. The files added by this item template are: +- modelName.edmx | +- modelName.edmx.diagram | +- modelName.Designer.cs [or vb] => code generator output (for EF5 and Legacy ObjectContext generator) or +- ModelName.cs [or vb] - for CodeFirst
Assembly: Microsoft.Data.Entity.Design (in Microsoft.Data.Entity.Design.dll)
Name | Description | |
---|---|---|
![]() | ModelObjectItemWizard() | This API supports the Entity Framework infrastructure and is not intended to be used directly from your code. |
Name | Description | |
---|---|---|
![]() | BeforeOpeningFile(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 |
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | ProjectFinishedGenerating(Project) | This method is called after the project has been created This lets us run custom wizard logic when a project has finished generating |
![]() | ProjectItemFinishedGenerating(ProjectItem) | This method is only called for item templates, not for project templates |
![]() | RunFinished() | This method is called at the end of a template wizard run This lets us run custom wizard logic when the wizard has completed all tasks We set up project item dependencies here for files added by the .vstemplate |
![]() | RunStarted(Object, Dictionary<String, String>, WizardRunKind, Object[]) | This method is called at the beginning of a template wizard run This lets us run custom wizard logic before anything is created and is a good place, for example, to collect user input that will alter the run in some way |
![]() | ShouldAddProjectItem(String) | Indicates whether the specified project item should be added to the project |
![]() | ToString() | (Inherited from Object.) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.