creating a LIKE statement via the filter

Posts   
 
    
rparkins
User
Posts: 66
Joined: 04-May-2005
# Posted on: 13-May-2005 10:24:46   

Hi

Just a quick question.. I have the ability to generate a filter using the ComparisonOperator for equal, not equal etc... Is it possible to use this filter for a LIKE statement, or would I have to generate my own stored procedure for this..

Again many thanks, this is a great forum and the framework is easy to use!

Regards

Richard

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39933
Joined: 17-Aug-2003
# Posted on: 13-May-2005 11:25:16   

rparkins wrote:

Hi

Just a quick question.. I have the ability to generate a filter using the ComparisonOperator for equal, not equal etc... Is it possible to use this filter for a LIKE statement, or would I have to generate my own stored procedure for this..

Just use the PredicateFactory.Like method or the FieldLikePredicate predicate simple_smile .

Again many thanks, this is a great forum and the framework is easy to use!

smile

Frans Bouma | Lead developer LLBLGen Pro
rparkins
User
Posts: 66
Joined: 04-May-2005
# Posted on: 13-May-2005 11:38:20   

Doh... should read more.... thanks for the pointer.. Hope this helps someone else who has had around 2 hours sleep in 2 days simple_smile

Cheers

Rich

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39933
Joined: 17-Aug-2003
# Posted on: 13-May-2005 11:58:05   

rparkins wrote:

Doh... should read more.... thanks for the pointer.. Hope this helps someone else who has had around 2 hours sleep in 2 days simple_smile

Cheers

Rich

2 hours? Whoa simple_smile . Good thing: it's friday simple_smile

Frans Bouma | Lead developer LLBLGen Pro