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


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


A 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.


This class exists to be cocreated a in a preprocessor build step.


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

Return to top