Hello!
I have the following problem using a query which joins some tables which use guids as Primary keys:
When i execute the query
IQueryable<Instance> query = from item in Context.Instances
.Include("Artist")
...
where item...
select item;
var list = query.ToList();
I always get the following error when executing the ToList()-Method
"The type of the key field 'Id' is expected to be 'System.Guid', but the value provided is actually of type 'System.Byte['."
I already tried to use the BinaryGuid=False in the connection-string, but all it does is ending up with an equal error-message but with
"System.String" instead of "System.Byte[".
Anyone any idead how i can deal with this?
Already thank you very much!