CodeGeneratorGenerateTypedMappers Method (IAppContext, String, String, Boolean, Boolean, Boolean, CodeGenerationOutputType, Boolean) |
Generates the classes in the specified file.
Namespace:
NetQuarry.Metadata
Assembly:
EAP.Mapper (in EAP.Mapper.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public static void GenerateTypedMappers(
IAppContext appCxt,
string generatedFileName,
string generatedSessionFileName,
bool useCamelCase,
bool nullableNumericProps,
bool noNullStrings,
CodeGenerationOutputType outputType,
bool append
)
Public Shared Sub GenerateTypedMappers (
appCxt As IAppContext,
generatedFileName As String,
generatedSessionFileName As String,
useCamelCase As Boolean,
nullableNumericProps As Boolean,
noNullStrings As Boolean,
outputType As CodeGenerationOutputType,
append As Boolean
)
Parameters
- appCxt
- Type: NetQuarryIAppContext
The application context object. - generatedFileName
- Type: SystemString
The name of the generated file name. Note that this must be located in a legal and existing path. - generatedSessionFileName
- Type: SystemString
The name of the generated file to write for the Session dervied class. - useCamelCase
- Type: SystemBoolean
If true, property names are generated in CamelCase. - nullableNumericProps
- Type: SystemBoolean
If true, numeric (including boolean) properties are specified as Nullable<type> values. - noNullStrings
- Type: SystemBoolean
If true, strings will never be returned as null. Null values are converted to string.Empty. - outputType
- Type: NetQuarry.MetadataCodeGenerationOutputType
The type of generation to perform. - append
- Type: SystemBoolean
Whether the generation should append to an existing file.
See Also