From f5f137396e0e61cb093e80313c1f7a8f359a465c Mon Sep 17 00:00:00 2001 From: TekH Date: Mon, 23 Feb 2026 09:38:13 +0100 Subject: [PATCH] Rename ChangedWhen to ActionDate; add wrapper for compatibility Renamed the ChangedWhen property to ActionDate in the History entity, preserving the database mapping. Added a ChangedWhen property as a wrapper around ActionDate to maintain backward compatibility with existing code. --- EnvelopeGenerator.Domain/Entities/History.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/EnvelopeGenerator.Domain/Entities/History.cs b/EnvelopeGenerator.Domain/Entities/History.cs index aae01cce..f52700a5 100644 --- a/EnvelopeGenerator.Domain/Entities/History.cs +++ b/EnvelopeGenerator.Domain/Entities/History.cs @@ -35,8 +35,10 @@ namespace EnvelopeGenerator.Domain.Entities public DateTime AddedWhen { get; set; } [Column("ACTION_DATE", TypeName = "datetime")] - public DateTime? ChangedWhen { get; set; } - + public DateTime? ActionDate { get; set; } + + public DateTime? ChangedWhen { get => ActionDate; set => ActionDate = value; } + [Column("COMMENT", TypeName = "nvarchar(max)")] public string #if nullable