Skip to content

Commit

Permalink
Generate Option Set Metadata Attribute #375
Browse files Browse the repository at this point in the history
  • Loading branch information
daryllabar committed Apr 1, 2023
1 parent 577771e commit e46eeb4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,16 @@ public class CustomizeCodeDomService : TypedServiceBase<ICustomizeCodeDomService
{
public bool AddOptionSetMetadataAttribute { get => DLaBSettings.AddOptionSetMetadataAttribute; set => DLaBSettings.AddOptionSetMetadataAttribute = value; }

#region Constructors

public CustomizeCodeDomService(ICustomizeCodeDomService defaultService, IDictionary<string, string> parameters) : base(defaultService, parameters)
{ }

public CustomizeCodeDomService(ICustomizeCodeDomService defaultService, DLaBModelBuilderSettings settings = null) : base(defaultService, settings)
{ }

#endregion Constructors

/// <summary>
/// Remove the unnecessary classes that we generated for entities.
/// </summary>
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(GenerateOptionSetMetadataAttribute),
nameof(UnmappedProperties),
nameof(WorkflowlessActions),
};
Expand Down

0 comments on commit e46eeb4

Please sign in to comment.