refactor: Anpassung der Klassen-Definition für EnvelopeHistory zur Unterstützung von NET und NETFRAMEWORK

This commit is contained in:
tekh 2025-08-19 15:11:42 +02:00
parent 6aec854a64
commit 3f5a584399
2 changed files with 48 additions and 43 deletions

View File

@ -1,9 +1,6 @@
using DigitalData.UserManager.Domain.Entities;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
#if NETFRAMEWORK
using System;
#endif
namespace EnvelopeGenerator.Domain.Entities
#if NET

View File

@ -5,10 +5,15 @@ using System;
#endif
namespace EnvelopeGenerator.Domain.Entities
{
[Table("TBSIG_ENVELOPE_RECEIVER", Schema = "dbo")]
public class EnvelopeReceiver
#if NET
;
#elif NETFRAMEWORK
{
#endif
[Table("TBSIG_ENVELOPE_RECEIVER", Schema = "dbo")]
public class EnvelopeReceiver
{
[Key]
[Column("ENVELOPE_ID")]
public int EnvelopeId { get; set; }
@ -59,5 +64,8 @@ namespace EnvelopeGenerator.Domain.Entities
[ForeignKey("ReceiverId")]
public Receiver Receiver { get; set; }
}
}
#if NETFRAMEWORK
}
#endif