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:
@@ -4,11 +4,11 @@ public partial class VwmyCatalog
|
|||||||
{
|
{
|
||||||
public int Guid { get; set; }
|
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 CatString { get; set; } = String.Empty;
|
||||||
|
|
||||||
public string AddedWho { get; set; } = null!;
|
public string AddedWho { get; set; } = String.Empty;
|
||||||
|
|
||||||
public DateTime AddedWhen { get; set; }
|
public DateTime AddedWhen { get; set; }
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user