Open
Description
Hi pals,
When doing the following query, the NameEntityType
is still null
:
public class NameEntity {
public int Id { get; set; }
public int NameEntityTypeId { get; set; }
public virtual NameEntityType NameEntityType { get; set; }
}
public class NameEntityType {
public int Id { get; set; }
public virtual System.Collections.Generic.ICollection<NameEntity> NameEntities { get; set; }
}
var res = queryFactory.Query("NameEntity")
.Include("NameEntityType", queryFactory.Query("NameEntityType"), "NameEntityTypeId")
.Get<NameEntity>();
Could you please let me know about the way to solve the issue?