EntityCollection.Find - Non-Case Sensitive Search?

Posts   
 
    
mshe
User
Posts: 167
Joined: 02-Feb-2006
# Posted on: 04-Mar-2006 06:16:10   

Hello,

I got EntityCollection.Find to work, but is it possible to implement a non-case sensitive search for EntityCollection.Find?

Thanks!

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39930
Joined: 17-Aug-2003
# Posted on: 05-Mar-2006 10:19:04   

No that's not possible. The find performs an Equals() operation on CurrentValue. The Find method is part of the IBindingList interface implementation and performs an O(n) operation, so it's not more optimal than if you would walk the collection yourself.

Frans Bouma | Lead developer LLBLGen Pro