Skip to content

Join problem with inherited entities #614

@ghost

Description

  1. 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.

  1. 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; }
}

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions