Namespace:
NetQuarry.Data
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax [FlagsAttribute]
public enum SetValFlags
<FlagsAttribute>
Public Enumeration SetValFlags
Members
| Member name | Value | Description |
---|
| DoNotMakeDirty | 1 | Do not mark the field dirty as a result of this set. If the field is already
marked dirty, the Dirty flag will not be cleared. |
| ClearDirty | 2 | Clear the field's Dirty flag. |
| DoNotSetOldVal | 4 | Do not set the OldValue. |
| ClearOldVal | 8 | Clear the OldValue. |
| FromDispText | 32 | The provided value is the display text (vs. underlying value) for the field's new value. |
| OnlyIfDiff | 64 |
Only set the field's value if the provided value differs from the field's current value.
Treat the field's Dirty and OldValue appropriately depending on whether the value is set or not.
|
| NoCtrlSet | 128 | Do not set the new value through to the provided or bound control. |
| FromDefault | 256 | Set the field's value to its DefaultValue. |
| FromControl | 512 | Set the field's value using the value of the provided or bound control. |
| InitOldValue | 1024 | Initialize the field's OldValue to this value. |
| Mapper | 2048 | The value is being set (initialized) by the field's mapper. |
| OnlyIfNullOrBlank | 4096 |
Only set the field's value if the current value is null (or a blank string).
Treat the field's Dirty and OldValue appropriately depending on whether the value is set or not.
|
| ByMapper | 3074 | Flags used when value is being initialized by the field's mapper. |
| ForFiltering | 8192 |
The value provided is a filter string. Normal type checking, validation, conversion does not apply.
|
| InvariantCulture | 16384 |
The value is provided in the invariant culture.
|
| OnlyIfNotLocked | 32768 |
Only set the field's value if the field is not locked in the current context.
This is normally used when the IsStrictMode is set in order to enforce strict data security.
|
| SetDefaultValue | 65536 |
Set the default value of the field, rather than the value.
|
| UserFriendlyErr | 131072 |
If an error occurs while setting a value, throw a more user friendly error message vs. an error
message intended more for a developer.
|
| LogIfLocked | 262144 |
Devlog if the field's value is set and the field is locked in the current context.
This is normally used when the IsStrictMode is NOT set in order to log possible data security breaches.
|
| SetToAliases | 524288 |
After setting the value on the field, find any other fields in the mapper whose AliasName
matches this field's Key and set the value on through to those as well.
|
| OnlyIfKnown | 1048576 |
Set the field's value only if the provided value is found in the field's Picklist.
Applies only when used in conjunction with FromDispText and is incompatible with NullIfUnknown.
|
| NullIfUnknown | 2097152 |
Set the field's value to null if the provided value is not found in the field's Picklist.
Applies only when used in conjunction with FromDispText and is incompatible with OnlyIfKnown.
|
| AsShadowColumn | 4194304 |
This field is being used as a ShadowColumn and the provided value is the value
from the shadow's referencing field. When set, the field should apply any ShadowAlgorithm
to transform the data into its shadow form.
|
| DateWithTimezone | 1048576 |
The value is a date/time value and the timezone to which that date/time
applies is provided in param. The timezone may be specied using either
a TimeZone object, or a timezone key (ID) such as an integer or string zero
for UTC, or "." for the user's local timezone. The resulting field value
will be the provided date/time converted to its storage timezone.
|
| IgnoreDateTimeResolution | 2097152 |
Normally date/time changes are only saved if the change would affect the visible value. The primary
intent of this is to NOT change a value where the seconds or milli-seconds is not shown, but exists.
For example, if the user sees "7/1/15 8:00 am" but the underlying value is "7/1/15 8:00:30 am" we
don't want a postback of "7/1/15 8:00 am" to clobber the seconds value. However, this can have the
side-effect of eating some programmatic changes that are desired. When this attribute is set the
precision is ignored and any change will be saved.
|
See Also