I have a projection List in my c# code :
var criteria = DetachedCriteria.For(this.modelType);
for (int i = 0; i < this.fields.Length; i++)
projections.Add(Projections.Property(this.fields[i]));
if (fields.Length > 0)
criteria.SetProjection(projections);
if I don´t set any field in my projection my return is follow:
but if I set projections in my code, my result is follow:
How can I convert the list with projections in a Dynamic DTO object?