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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.