public abstract class MyDocument
{
public int Id { get; set; }
public JoinField MyJoinField { get; set; }
}
public class MyParent : MyDocument
{
[Text]
public string Name{ get; set; }
public DateTime DOB { get; set; }
}
public class MyChild : MyDocument
{
[Text]
public string Address { get; set; }
public string MobileNumber { get; set; }
}
I have two classes want to get MyParent and MyChild result into single query with data.