Export (0) Print
Expand All

Microsoft.Data.Entity.Design.VisualStudio.SingleFileGenerator Namespace

[This page is specific to the Entity Framework version 6. The latest version is available as the 'Entity Framework' NuGet package. For more information about Entity Framework, see msdn.com/data/ef.]

The Microsoft.Data.Entity.Design.VisualStudio.SingleFileGenerator namespace contains class that provides Visual Studio code generator.

  ClassDescription
Public classBaseCodeGeneratorA managed wrapper for VS's concept of an IVsSingleFileGenerator which is a custom tool invoked during the build which can take any file as an input and provide a compilable code file as output.
Public classBaseCodeGeneratorWithSiteThis class exists to be cocreated a in a preprocessor build step.
Public classEntityModelCodeGeneratorOur 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
Show:
© 2014 Microsoft