Entity Framework Core null object. I have a one-to-one entity relationship....public class Player
{
public int Id { get; set; }
public int? RatingId { get; set; }
public Rating Rating { get; set; }
}
public class Rating
{
public double ...
This is driving me crazy:... using (var context = new aContext())
{
_Paz = context.TPaz
.Where(a => a.CodPaz == _PazV.CodPaz)
.FirstOrDefault();
}
...I have 2 different row...