Click or drag to resize

StringMethodPredicateProducers Class

Extension methods to produce Like predicates for string fields/expressions. Defined for various source elements, like fields, expressions...
Inheritance Hierarchy
SystemObject
  SD.LLBLGen.Pro.QuerySpecStringMethodPredicateProducers

Namespace:  SD.LLBLGen.Pro.QuerySpec
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.7.0.0 (5.7.0)
Syntax
public static class StringMethodPredicateProducers
Methods
  NameDescription
Public methodStatic memberContains(IEntityFieldCore, String, NullableChar)
Creates a Like predicate using the pattern: '%pattern%' for the field specified.
Public methodStatic memberContains(IExpression, String, NullableChar)
Creates a Like predicate using the pattern: '%pattern%' for the expression specified.
Public methodStatic memberEndsWith(IEntityFieldCore, String, NullableChar)
Creates a Like predicate using the pattern: '%pattern' for the field specified.
Public methodStatic memberEndsWith(IExpression, String, NullableChar)
Creates a Like predicate using the pattern: '%pattern' for the expression specified.
Public methodStatic memberLike(IEntityFieldCore, String, NullableChar)
Creates a Like predicate for the field specified using the pattern specified. The pattern has to contain the wildcards required.
Public methodStatic memberLike(IExpression, String, NullableChar)
Creates a Like predicate for the expression specified using the pattern specified. The pattern has to contain the wildcards required.
Public methodStatic memberStartsWith(IEntityFieldCore, String, NullableChar)
Creates a Like predicate using the pattern: 'pattern%' for the fieldl specified.
Public methodStatic memberStartsWith(IExpression, String, NullableChar)
Creates a Like predicate using the pattern: 'pattern%' for the expression specified.
Top
Remarks
Uses adapter field instances for expression wrapping, as it doesn't matter: the expression will emitted into the output, not the field containing it.
See Also