Standardize string property initialization to string.Empty
Replaced String.Empty and null! with string.Empty for string properties in CatalogReadDto, CatalogWriteDto, and VwmyCatalog classes. This ensures consistent initialization and helps prevent null reference issues across the codebase.
This commit is contained in:
@@ -4,11 +4,11 @@ public partial class VwmyCatalog
|
||||
{
|
||||
public int Guid { get; set; }
|
||||
|
||||
public string CatTitle { get; set; } = String.Empty;
|
||||
public string CatTitle { get; set; } = string.Empty;
|
||||
|
||||
public string CatString { get; set; } = String.Empty;
|
||||
public string CatString { get; set; } = string.Empty;
|
||||
|
||||
public string AddedWho { get; set; } = String.Empty;
|
||||
public string AddedWho { get; set; } = string.Empty;
|
||||
|
||||
public DateTime AddedWhen { get; set; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user