Click or drag to resize

CodeGenOptions Enumeration

Options for code generation for the IMapper objects. FieldCodeGenOptions provides IField code generation options.

Namespace:  NetQuarry.Metadata
Assembly:  EAP.Mapper (in EAP.Mapper.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
[FlagsAttribute]
public enum CodeGenOptions
Members
  Member nameValueDescription
NoMapperRequery1 Code generation should be performed based solely on meta-data without requerying the mapper. This is not intended for general use, but only when a Requery(RequeryHints) is not possible because the mapper's view is dynamically set or the mapper is synthetic. In general code generation is improved when a Requery(RequeryHints) is performed because the actual data types of the field is determined from the database. If a Requery(RequeryHints) failure is a temporary problem, you should set the RequeryFailContinue option instead.
RequeryFailContinue2 Code generation should be performed even if the Requery(RequeryHints) fails. This is intended for temporary use in situations where a local build cannot be completed due a requery failure preventing code generation. In general code generation is improved when a Requery(RequeryHints) is performed because the actual data types of the field is determined from the database. If code generation should always be performed without a Requery(RequeryHints) (typically because the mapper's view is dynamically set or the mapper is synthetic), you should set the NoMapperRequery option instead.
See Also