Entity Framework One to many relationship
问题 My EF query takes around 3 seconds to fetch 10 players because it fetches all 500k+ rows of the other table, instead of the few I need. This is the PlayerEntity: namespace RocketLeagueStats.Database.Entities { [Table("players", Schema = "public")] public class PlayerEntity { [Key] [Column("id")] public int Id { get; set; } [Column("unique_id")] public string UniqueId { get; set; } [Column("display_name")] public string DiplayName { get; set; } [Column("platform_id")] [JsonIgnore] public int