EntityModelCodeGenerator Class
Our SFG-based code generator works by: 1. Reading the CodeGenerationStrategy option in the EDMX file 2. If the CodeGenerationStrategy is set to 'Default' then we will proceed with codegen: 3. Call System.Data.Entity.Design CodeGen APIs
Assembly: Microsoft.Data.Entity.Design (in Microsoft.Data.Entity.Design.dll)
Microsoft.Data.Entity.Design.VisualStudio.SingleFileGenerator.BaseCodeGenerator
Microsoft.Data.Entity.Design.VisualStudio.SingleFileGenerator.BaseCodeGeneratorWithSite
Microsoft.Data.Entity.Design.VisualStudio.SingleFileGenerator.EntityModelCodeGenerator
Name | Description | |
---|---|---|
![]() | EntityModelCodeGenerator() | Initializes a new instance of the EntityModelCodeGenerator class. |
Name | Description | |
---|---|---|
![]() | CodeProvider | Returns a CodeDomProvider object for the language of the project containing the project item the generator was called on(Inherited from BaseCodeGeneratorWithSite.) |
![]() | DefaultExtensionString | Gets the default extension of the output file from the CodeDomProvider(Overrides BaseCodeGenerator.DefaultExtensionString.) |
![]() | ErrorList | Get the Vs ErrorList object(Inherited from BaseCodeGeneratorWithSite.) |
![]() | Project | Returns the EnvDTE.Project object of the project containing the project item the code generator was called on(Inherited from BaseCodeGeneratorWithSite.) |
![]() | ProjectItem | Returns the EnvDTE.ProjectItem object that corresponds to the project item the code generator was called on(Inherited from BaseCodeGeneratorWithSite.) |
![]() | SiteServiceProvider | demand-creates a ServiceProvider given an IOleServiceProvider(Inherited from BaseCodeGeneratorWithSite.) |
Name | Description | |
---|---|---|
![]() ![]() | AddNameOfItemToBeRenamed(UInt32, String) | This API supports the Entity Framework infrastructure and is not intended to be used directly from your code. |
![]() | DefaultExtension(String) | Implements the IVsSingleFileGenerator.DefaultExtension method. Returns the extension of the generated file(Inherited from BaseCodeGenerator.) |
![]() | Dispose() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.(Inherited from BaseCodeGenerator.) |
![]() | Dispose(Boolean) | Releases unmanaged and - optionally - managed resources.(Inherited from BaseCodeGeneratorWithSite.) |
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Finalize() | Finalizes an instance of the BaseCodeGenerator class.(Inherited from BaseCodeGenerator.) |
![]() | Generate(String, String, String, IntPtr[], UInt32, IVsGeneratorProgress) | main method that the VS shell calls to do the generation(Inherited from BaseCodeGenerator.) |
![]() | GenerateCode(String, String, String) | Calls the CodeGen API to generate the code file from the CSDL file(Overrides BaseCodeGenerator.GenerateCode(String, String, String).) |
![]() | GeneratorErrorCallback(Boolean, Int32, String, Int32, Int32) | method that will communicate an error via the shell callback mechanism.(Inherited from BaseCodeGenerator.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetService(Type) | method to get a service by its Type(Inherited from BaseCodeGeneratorWithSite.) |
![]() | GetSite(Guid, IntPtr) | GetSite method of IOleObjectWithSite(Inherited from BaseCodeGeneratorWithSite.) |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | SetSite(Object) | SetSite method of IOleObjectWithSite(Inherited from BaseCodeGeneratorWithSite.) |
![]() | ToString() | (Inherited from Object.) |
Name | Description | |
---|---|---|
![]() ![]() | CodeGenToolName | This API supports the Entity Framework infrastructure and is not intended to be used directly from your code. |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.