Closed s455016457 closed 1 year ago
Hi @s455016457, have you tried materializing your list before calling Where()? Something like this:
data = data.ToList().Where(p => p.CustomerProject.Id.Equals(Guid.NewGuid())).AsQueryable();
Assuming materializing the result fixed the problem. Let me know if not.
Hi: My code threw an exception after calling the Where method after the ProjectToType method. My codes:
Exception Info: System.ArgumentException:“Method 'Boolean Equals(System.Guid)' declared on type 'System.Guid' cannot be called with instance of type 'System.Nullable`1[System.Guid]'”
Other codes