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.
This commit is contained in:
OlgunR
2026-04-21 13:43:33 +02:00
parent 4fa3bcae3d
commit be40c39f47

View File

@@ -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; }