FieldCodeGenOptions Enumeration |
Namespace:
NetQuarry.Metadata
Assembly:
EAP.Mapper (in EAP.Mapper.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax [FlagsAttribute]
public enum FieldCodeGenOptions
<FlagsAttribute>
Public Enumeration FieldCodeGenOptions
Members
| Member name | Value | Description |
---|
| Nullable | 1 |
Create this field's value property as Nullable (e.g. nullable int? vs. non-nullable int).
This is typically used on numeric or bool fields which, by default, are created as non-nullable.
Most other types are nullable by default (e.g. string, datetime, guid).
when a null non-nullable numeric field has an underlying null value, 0 is returned. For bool fields, false is returned.
|
| StandardPicklistEnum | 2 |
Create the field's value property as an Enum based on the field's specified Picklist (must be of type StandardPicklist).
|
| ExcludeFromSelect | 8 |
The field should not be queried when performing code generation. Use ExcludeFromSelect to exclude the field from
the mapper's SELECT clause at all times.
|
| DebuggerDisplay | 16 |
Add this field to the TypedMapper's DebuggerDisplay so its value can be seen easily during debugging.
|
See Also