2
Vote

Select property mapping bug

description

Using the Select method under certain circumstances produces errors, because the properties are not correctly mapped back to LDAP names. Attached are two similar unit tests, one passing and one failing, illustrating the problem.

As a workaround, using AsEnumerable() after the Select but before the Where works, but obviously makes the query slower.

file attachments

comments