I´ve been trying to performe a query using linq and can´t maky it to return class with only few fields.
my Table looks like
Project {Id: Integer, Name:String, Description:String, Extra:String, Other:String }
Code: Select all
Query := Linq.From(Context['Project'])
.OrderBy(Context['Project']['Name'])
.Select([Context['Project']['Id'], Context['Project']['Name']]);
List := Context.GetEntities<Project>(Query);
Any help is appreciated.