BaseCodeGenerator.GenerateCode Method (String, String, String)

 

the method that does the actual work of generating code given the input file.

Namespace:   Microsoft.Data.Entity.Design.VisualStudio.SingleFileGenerator
Assembly:  Microsoft.Data.Entity.Design (in Microsoft.Data.Entity.Design.dll)

protected abstract byte[] GenerateCode(
	string inputFileName,
	string inputFileContent,
	string defaultNamespace
)

Parameters

inputFileName
Type: System.String

input file name

inputFileContent
Type: System.String

file contents as a string

defaultNamespace
Type: System.String

The default namespace.

Return Value

Type: System.Byte[]

the generated code file as a byte-array