I am using LINQ to Entites in my WindowsForm application.
I am trying to populate a Lisbox with the result of a query:
So my datasource is a List where User is a table in my database and a EntityType in my model.
The problem is I want the Displaymember to bea concat of 3 different Columns. (User.Firstname + " " + user.LastName + " - " + user.userCode)
and ValueMember to be user.ID;
I could just create a struct of a userItem with the 4 items, iterate through the list of User's and add them to another List. But this seems like double processing.