Skip to content

Commit

Permalink
Start of Generate Enum Properties #375
Browse files Browse the repository at this point in the history
  • Loading branch information
daryllabar committed Apr 1, 2023
1 parent 2dff650 commit ce768d7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion DLaB.EarlyBoundGenerator/Settings/SettingsMap.cs
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ public bool GenerateEntityTypeCode

[Category("2 - Entities")]
[DisplayName("Generate Enum Properties")]
[Description("Adds an additional property to each early bound entity class for each optionset property it normally contains, typed to the appropriate Enum, rather than OptionSet, with Enum postfixed to the existing optionset name.")]
[Description("OptionSet attributes are generated as enums rather than Option Sets. Default is to replace the OptionSet property with a typed enum version, but they can also be generated as an additional property using the \"2 - Entities - Replace Option Set Properties with Enum\" setting.")]
public bool GenerateEnumProperties
{
get => Config.ExtensionConfig.GenerateEnumProperties;
Expand Down
1 change: 0 additions & 1 deletion DLaB.EarlyBoundGenerator/Settings/SettingsMapDescriptor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ private void DisableUnsupportedProperties()
var disabledProperties = new[]
{
nameof(MessageWildcardWhitelist),
nameof(GenerateEnumProperties),
nameof(GenerateOptionSetMetadataAttribute),
nameof(UnmappedProperties),
nameof(WorkflowlessActions),
Expand Down

0 comments on commit ce768d7

Please sign in to comment.