Print Page | Close Window

PredicateBuilder - a way to disable IgnoreCase

Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce 2012
Forum Discription: For .NET 4.5
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=4643
Printed Date: 06-Sep-2025 at 4:26am


Topic: PredicateBuilder - a way to disable IgnoreCase
Posted By: cefernan
Subject: PredicateBuilder - a way to disable IgnoreCase
Date Posted: 28-Jan-2014 at 5:31am
In PredicateDescription class exists a property called IgnoreCase that put ToLower() in string comparisons. This is a problem, because Oracle will ignore indexes in the search. 

We always use PredicateBuilder helper class to create our predicates, but this class doesn't allow disable IgnoreCase. It creates a PredicateBuilder with default value of IgnoreCase (IgnoreCase = true).

It would be very interesting to create static properties for default settings when using PredicateBuilder helper class.

Something like this:
static bool PredicateBuilder.IgnoreCase
static IgnoreCaseOption PredicateBuilder.IgnoreCaseOption

Is there any possibility to implement these changes? 

Thanks.



Replies:
Posted By: DenisK
Date Posted: 29-Jan-2014 at 11:30am
Hi cefernan, 

We are always looking for users suggestions so thank you for your ideas.
http://devforce.uservoice.com -
You can go to http://devforce.uservoice.com -  DevForce UserVoice to submit your feature request and let other users vote on them.

We will implement new features based on their demand with other users.


Posted By: cefernan
Date Posted: 30-Jan-2014 at 3:10am
Ok, I put my idea there.

Thank you.



Print Page | Close Window