I’ve got this model:
public class Model1
{
public override long Id { get; set; }
public override string Description { get; set; }
[Reference]
public Company Company { get; set; }
[References(typeof(Company))]
public long CompanyId { get; set; }
.....
}
public class Company
{
public long Id { get; set; }
public ulong RowVersion { get; set; }
public string Name { get; set; }
public string Surname{ get; set; }...
}
and I have a Autoquery request that return the table result.
If I run this query “Query?fields=id,companyid,company” I get all the object.
I want to run the call and return only a specific subset of data from the Reference object.
For example this
Query?fields=id,company.name
Is it supported?
Gianmaria