Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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
© 2015 Microsoft