BoolMetadata
Metadata for a Dataverse boolean (yes/no) column.
BoolMetadata Class
Properties
Name | Type | Default | Description |
|---|---|---|---|
ChoiceLogicalName | string | The logical name of the boolean's option set (Dataverse | |
Choices | List<ChoiceValueMetadata> | The default false/true display labels (value 0 and value 1) as configured in Dataverse, used as a fallback when a localization override isn't available. | |
ColumnName | string | The logical name of the column in Dataverse (e.g. 'firstname', 'emailaddress1'). | |
ColumnType | ColumnType | Boolean | Returns Boolean. |
DerivedFromColumn | string? | The logical name of the column this one takes its value from, or null when the column stands on its own. | |
Description | string? | The localized description of the column, or null if no description is configured. | |
DisplayName | string | The localized display name of the column as configured in Dataverse. | |
IsGlobal | bool | False | Whether the boolean's option set is a global option set (rare for booleans). Determines whether the localization keys live under the global |
IsValidForCreate | bool | False | Indicates whether this column can be set when creating a new record. |
IsValidForUpdate | bool | False | Indicates whether this column can be modified when updating an existing record. |
RequiredLevel | RequiredLevel | None | The required level of the column (None, SystemRequired, ApplicationRequired, or Recommended). |
SourceType | ColumnSourceType | Simple | Whether the column is stored as it was written, or computed by the platform from other columns. See Models.ColumnSourceType — a computed column does not report which columns feed it, so ColumnMetadataBase.DerivedFromColumn is null for one even though its value may well be derived. |
Name:
ChoiceLogicalNameType:
string
Description:
The logical name of the boolean's option set (Dataverse OptionSet.Name ), used to build the choices.{name}.values.{0|1}.label localization keys.
Name:
ChoicesType:
List<ChoiceValueMetadata>
Description:
The default false/true display labels (value 0 and value 1) as configured in Dataverse, used as a fallback when a localization override isn't available.
Name:
ColumnNameType:
string
Description:
The logical name of the column in Dataverse (e.g. 'firstname', 'emailaddress1').
Name:
ColumnTypeType:
ColumnType
Default:
Boolean
Description:
Returns Boolean.
Name:
DerivedFromColumnType:
string?
Description:
The logical name of the column this one takes its value from, or Dataverse creates companion columns that republish another column's value under a second name: the …name / …yominame partners of a lookup, the label partner of a choice, and the base-currency twin of every money column, which carries the same amount converted to the organization's base currency. The platform reports the link on two different properties — AttributeOf for the companions, CalculationOf for the base-currency twin — and this is both of them, resolved to one. Column security reads it: withholding a column has to withhold whatever republishes it, or denying creditlimit still ships creditlimit_base with the real amount in it. See TableMetadata.ResolveValueSourceColumn , which follows the chain to its root.
null when the column stands on its own. Name:
DescriptionType:
string?
Description:
The localized description of the column, or null if no description is configured.
Name:
DisplayNameType:
string
Description:
The localized display name of the column as configured in Dataverse.
Name:
IsGlobalType:
bool
Default:
False
Description:
Whether the boolean's option set is a global option set (rare for booleans). Determines whether the localization keys live under the global choices.* subtree or the table-scoped tables.{table}.choices.* subtree.
Name:
IsValidForCreateType:
bool
Default:
False
Description:
Indicates whether this column can be set when creating a new record.
Name:
IsValidForUpdateType:
bool
Default:
False
Description:
Indicates whether this column can be modified when updating an existing record.
Name:
RequiredLevelType:
RequiredLevel
Default:
None
Description:
The required level of the column (None, SystemRequired, ApplicationRequired, or Recommended).
Name:
SourceTypeType:
ColumnSourceType
Default:
Simple
Description:
Whether the column is stored as it was written, or computed by the platform from other columns. See
Models.ColumnSourceType — a computed column does not report which columns feed it, so ColumnMetadataBase.DerivedFromColumn is null for one even though its value may well be derived.