Adds Blazor Web App standard login

This commit is contained in:
2025-09-24 21:28:15 +02:00
parent 1152bc4f7e
commit 8ec615496e
141 changed files with 62726 additions and 1354 deletions

View File

@@ -0,0 +1,24 @@
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;
namespace WatchLog.Data
{
[PrimaryKey(nameof(GlobalEntityId), nameof(GenreId))]
public class LinkTableGlobalGenre
{
// --- Foreign Keys ---
[Column(Order = 0)]
public int GlobalEntityId { get; set; }
[Column(Order = 1)]
public int GenreId { get; set; }
// --- Navigation Properties ---
[ForeignKey(nameof(GlobalEntityId))]
public virtual GlobalEntity GlobalEntity { get; set; } = null!;
[ForeignKey(nameof(GenreId))]
public virtual Genre Genre { get; set; } = null!;
}
}