fix #4733 - remove Name column from Language table and populate value dynamically

This commit is contained in:
sbwalker
2024-10-15 15:58:17 -04:00
parent c31c88ed1f
commit bcf7866fe2
4 changed files with 39 additions and 6 deletions

View File

@ -19,11 +19,6 @@ namespace Oqtane.Models
/// </summary>
public int? SiteId { get; set; }
/// <summary>
/// Language Name - corresponds to <see cref="Culture.DisplayName"/>, _not_ <see cref="Culture.Name"/>
/// </summary>
public string Name { get; set; }
/// <summary>
/// Language / Culture code, like 'en-US' - corresponds to <see cref="Culture.Name"/>
/// </summary>
@ -34,6 +29,12 @@ namespace Oqtane.Models
/// </summary>
public bool IsDefault { get; set; }
[NotMapped]
/// <summary>
/// Language Name - corresponds to <see cref="Culture.DisplayName"/>, _not_ <see cref="Culture.Name"/>
/// </summary>
public string Name { get; set; }
[NotMapped]
/// <summary>
/// Version of the satellite assembly