Can somebody confirm whether the following tests (tests that are equivalent to the hypothetical TDL fragments below) are possible in TDL:
1) Test whether the 'currentEntityField' is backed by a nullable column.
e.g: <[If IsNullable]>...
I'd like to be able to do this, so I can generate Clear[fieldname] functions which set the field to null (nicer than using SetCurrentFieldValue((int)EntityFieldIndex.FieldName, null).
(I can just generate these for all fields, but this will result in some functions that should not be used)
2) Test whether the 'currentEntityField' is tagged with a particular custom property.
e.g: <[If HasCustomProperty "IsBooleanCharacterField"]>...
I would like to be able to tag single-character fields to be treated as 'boolean' fields, and generate property accessors/mutators that translate the boolean value to/from 'Y' and 'N'.