refactor: add conditional compilation for .NET and .NET Framework

This commit is contained in:
tekh 2025-08-19 14:18:01 +02:00
parent 50a541c5bf
commit acee28ffce

View File

@ -2,10 +2,15 @@
using System.ComponentModel.DataAnnotations.Schema;
namespace EnvelopeGenerator.Domain.Entities
{
[Table("TBSIG_CONFIG", Schema = "dbo")]
public class Config
#if NET
;
#elif NETFRAMEWORK
{
#endif
[Table("TBSIG_CONFIG", Schema = "dbo")]
public class Config
{
[Column("SENDING_PROFILE", TypeName = "int")]
[Required]
public int SendingProfile { get; set; }
@ -19,5 +24,8 @@ namespace EnvelopeGenerator.Domain.Entities
[Column("EXPORT_PATH", TypeName = "nvarchar(256)")]
public string ExportPath { get; set; }
}
}
#if NETFRAMEWORK
}
#endif