Hi All,
I have an EntityDataSource in which command text contains not in.
The queries looks like :-
SELECT User.LastName, User.Suffix
FROM [User]
WHERE [User].UserId not in (select [Contractors].UserId from Contractors)
This results in following error:-
The element type 'Edm.Guid' and the CollectionType 'Transient.collection[Transient.rowtype[(UserId ,Edm.Guid(Nullable=True,DefaultValue=))](Nullable=True,DefaultValue=)]' are not compatible. The IN expression only supports entity, primitive, and reference types.
Any ideas how this can be fixed?