oClient = (From c In oGeneric.GetClients() Where c.Id = nClientID Select c.FirstName,cLastName,c.Damage.Drivable).FirstOrDefault()And, I need to use this syntax:
oClient = (From c In oGeneric.GetClients() Where c.Id = nClientID Select New ClientAPI.ClientService.Client() With {.FirstName = c.FirstName, .LastName = c.LastName, .Something = c.Damage.Drivable} ).FirstOrDefault()The problem is with the Damage object which is being used in here in the original query. That one works. I just need to convert that query into the secondary syntax. As Damage is an object, the right part of the = part is intellisense. I can see that c.Damage shows up Drivable in the list when intellisense kicks in. However, on the left side, at the dot level, it is not really obvious how to adjust to support that.