Make ProfileView string properties nullable
Changed several ProfileView properties (Type, Mandantor, ProfileName, LogLevel, Language, AddedWho) from non-nullable strings with default values to nullable strings. This allows these fields to be null instead of defaulting to an empty string.
This commit is contained in:
@@ -8,23 +8,23 @@ public record ProfileView
|
||||
|
||||
public byte TypeId { get; init; }
|
||||
|
||||
public string Type { get; init; } = string.Empty;
|
||||
public string? Type { get; init; }
|
||||
|
||||
public string Mandantor { get; init; } = string.Empty;
|
||||
public string? Mandantor { get; init; }
|
||||
|
||||
public string ProfileName { get; init; } = string.Empty;
|
||||
public string? ProfileName { get; init; }
|
||||
|
||||
public string? Description { get; init; }
|
||||
|
||||
public byte LogLevelId { get; init; }
|
||||
|
||||
public string LogLevel { get; init; } = string.Empty;
|
||||
public string? LogLevel { get; init; }
|
||||
|
||||
public short LanguageId { get; init; }
|
||||
|
||||
public string Language { get; init; } = string.Empty;
|
||||
public string? Language { get; init; }
|
||||
|
||||
public string AddedWho { get; init; } = string.Empty;
|
||||
public string? AddedWho { get; init; }
|
||||
|
||||
public DateTime AddedWhen { get; init; }
|
||||
|
||||
@@ -37,4 +37,4 @@ public record ProfileView
|
||||
public DateTime? LastRun { get; init; }
|
||||
|
||||
public string? LastResult { get; init; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user