From be40c39f47890fc171954a8ec9ab0f71f33e49fc Mon Sep 17 00:00:00 2001 From: OlgunR Date: Tue, 21 Apr 2026 13:43:33 +0200 Subject: [PATCH] Initialize VwmyCatalog string properties with String.Empty Changed default values of CatTitle, CatString, and AddedWho from null! to String.Empty to prevent potential null reference issues and ensure safer property initialization. --- DbFirst.Domain/Entities/VwmyCatalog.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/DbFirst.Domain/Entities/VwmyCatalog.cs b/DbFirst.Domain/Entities/VwmyCatalog.cs index 503bc7d..a594711 100644 --- a/DbFirst.Domain/Entities/VwmyCatalog.cs +++ b/DbFirst.Domain/Entities/VwmyCatalog.cs @@ -4,12 +4,12 @@ public partial class VwmyCatalog { public int Guid { get; set; } - public string CatTitle { get; set; } = null!; + public string CatTitle { get; set; } = String.Empty; - public string CatString { get; set; } = null!; - - public string AddedWho { get; set; } = null!; + public string CatString { get; set; } = String.Empty; + public string AddedWho { get; set; } = String.Empty; + public DateTime AddedWhen { get; set; } public string? ChangedWho { get; set; }