EntityModelBuildProvider.GenerateCode(AssemblyBuilder) Method

Definition

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

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