I have one var variable which is having a single column and i want to make join that column with the database table.my code is as follows :
var notlinked = _client.Except(linked).ToList();
var result = (from e in iEnt.clientmasters
join g in notlinked on e.ClientID equals g.ClientID
select e).ToList();
now notlinked is having a single column and depend on that i want to retrieve information from database so in the next line i am doing join to that table but when i execute it getting following error :
Unable to create a constant value of type ‘Anonymous type’. Only primitive types (‘such as Int32, String, and Guid’) are supported in this context.
suggest me some solution to this
Here is the sample application to find things. I have taken two list Customer and another is int list.