using Microsoft.EntityFrameworkCore; using Npgsql.EntityFrameworkCore.PostgreSQL; using System.ComponentModel.DataAnnotations.Schema; using static System.Runtime.InteropServices.JavaScript.JSType; namespace Server.SQL { [Table("deck_unit_info", Schema = "gamedb")] public class DeckUnitInfo { public int id { get; set; } public int unit_id { get; set; } public int user_id { get; set; } } public class DeckUnitInfoSQL : SQL { public override DbSet table { get; set; } public override string tablename { get { return "deck_unit_info"; } } } }