Sample using CaseSensitiveCollation in Adapter

Posts   
 
    
Dominique
User
Posts: 22
Joined: 13-Sep-2005
# Posted on: 22-Oct-2005 23:20:39   

Hello,

does anybody have a sample of using CaseSensitiveCollation on Firebird in a Adapter scenario?

Thx Bernaert Dominique.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39933
Joined: 17-Aug-2003
# Posted on: 24-Oct-2005 14:38:41   

Dominique wrote:

Hello,

does anybody have a sample of using CaseSensitiveCollation on Firebird in a Adapter scenario?

For the LIKE predicate? It's the same for all the databases: FieldLikePredicate filter = PredicateFactory.Like(SomeEntityFieldIndex.SomeField, "LALA%"); filter.CaseSensitiveCollation = true; // use filter further in your predicate expressions.

Be sure to specify the pattern in uppercase.

Frans Bouma | Lead developer LLBLGen Pro