EntityModelBuildProvider.GenerateCode(AssemblyBuilder) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Generates source code for the entity model build provider, and adds the source code to a specified assembly builder.
public:
override void GenerateCode(System::Web::Compilation::AssemblyBuilder ^ assemblyBuilder);
public override void GenerateCode (System.Web.Compilation.AssemblyBuilder assemblyBuilder);
override this.GenerateCode : System.Web.Compilation.AssemblyBuilder -> unit
Public Overrides Sub GenerateCode (assemblyBuilder As AssemblyBuilder)
Parameters
- assemblyBuilder
- AssemblyBuilder
The assembly builder that references the source code generated by the build provider.
Remarks
The GenerateCode method embeds the CSDL file as a resource in the dynamically compiled assembly and also generates classes from CSDL file.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.