Код: Выделить всё
public partial class Entry
{
[Key, Column("Video Number", Order = 0)]
public short VideoNumber { get; set; }
[Key, Column("Entry", Order = 1)]
public byte Entry1 { get; set; }
public short ShowCode { get; set; }
public string EpisodeName { get; set; } = null!;
public DateTime? ActualPlayTime { get; set; }
public bool Completed { get; set; }
public string? Comment { get; set; }
public TimeOnly? ActualPlayTime1 { get; set; }
public virtual Show Show { get; set; } = null!;
public virtual Video VideoNumberNavigation { get; set; } = null!;
}
Код: Выделить всё
Video Number
Episode Name
Entry1
Show Code
@foreach (var entry in entries)
{
@entry.VideoNumber
@entry.EpisodeName
@entry.Entry1
@entry.ShowCode
}
Итак, почему бы и нет он отображает правильное значение в коде Blazor/HTML, но Swagger отображает правильное значение?
Подробнее здесь: https://stackoverflow.com/questions/791 ... layed-as-0
Мобильная версия