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 DigitalData.UserManager.Domain.Entities;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema; using System.ComponentModel.DataAnnotations.Schema;
#if NETFRAMEWORK
using System;
#endif
namespace EnvelopeGenerator.Domain.Entities namespace EnvelopeGenerator.Domain.Entities
#if NET #if NET

View File

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