diff --git a/EnvelopeGenerator.Infrastructure/EGDbContext.cs b/EnvelopeGenerator.Infrastructure/EGDbContext.cs index 8a103a00..75388b4d 100644 --- a/EnvelopeGenerator.Infrastructure/EGDbContext.cs +++ b/EnvelopeGenerator.Infrastructure/EGDbContext.cs @@ -25,7 +25,11 @@ namespace EnvelopeGenerator.Infrastructure public class EGDbContext : EGDbContextBase { - public EGDbContext(DbContextOptions options, IOptions triggerParamOptions, ILogger? logger = null) : base(options, triggerParamOptions, logger) + public EGDbContext(DbContextOptions options, IOptions triggerParamOptions, ILogger +#if NET + ? +#endif + logger = null) : base(options, triggerParamOptions, logger) { } }