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
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.