CodeGenOptions Enumeration |
Namespace:
NetQuarry.Metadata
Assembly:
EAP.Mapper (in EAP.Mapper.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax [FlagsAttribute]
public enum CodeGenOptions
<FlagsAttribute>
Public Enumeration CodeGenOptions
Members
| Member name | Value | Description |
---|
| NoMapperRequery | 1 |
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.
|
| RequeryFailContinue | 2 |
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