EntityModelBuildProvider::GenerateCode Method (AssemblyBuilder^)
.NET Framework (current version)
Generates source code for the entity model build provider, and adds the source code to a specified assembly builder.
Assembly: System.Data.Entity.Design (in System.Data.Entity.Design.dll)
Parameters
- assemblyBuilder
-
Type:
System.Web.Compilation::AssemblyBuilder^
The assembly builder that references the source code generated by the build provider.
The GenerateCode method embeds the CSDL file as a resource in the dynamically compiled assembly and also generates classes from CSDL file.
.NET Framework
Available since 3.5
Available since 3.5
Show: