- Description
When I try to join on a descendant of a class I got an error:
x and y are incompatible
While the same in Strongly typed Line works.
- Fiddle or Project
Based on the pets and person project:
https://dotnetfiddle.net/eEYaoU
Here is a sample:
I have a simple hierarchy:
public class Samples
{
public int Id { get; set; }
public string Name { get; set; }
public List<Result> Results { get; set; }
}
public class SoilSamples : Samples
{
public int Deep { get; set; }
}
public class Result
{
public int Id { get; set; }
public int Value { get; set; }
public Samples Sample { get; set; }
}
When I try to join on a descendant of a class I got an error:
x and y are incompatible
While the same in Strongly typed Line works.
Based on the pets and person project:
https://dotnetfiddle.net/eEYaoU
Here is a sample:
I have a simple hierarchy: