Remove unused, confusing property
This commit is contained in:
parent
a16354e425
commit
9e09800bff
1 changed files with 0 additions and 7 deletions
|
@ -22,13 +22,6 @@ public class CachedGuildMessage {
|
|||
|
||||
public string Content { get; set; } = null!;
|
||||
|
||||
/// <summary>Gets the timestamp when the message was last updated.</summary>
|
||||
/// <remarks>
|
||||
/// This is equivalent to coalescing the value of <see cref="EditedAt"/> and <see cref="CreatedAt"/>.
|
||||
/// </remarks>
|
||||
[NotMapped]
|
||||
public DateTimeOffset LastUpdatedAt => EditedAt ?? CreatedAt;
|
||||
|
||||
[ForeignKey(nameof(AuthorId))]
|
||||
[InverseProperty(nameof(CachedUser.GuildMessages))]
|
||||
public CachedUser Author { get; set; } = null!;
|
||||
|
|
Loading…
Reference in a new issue