Hello all. I'm new to LLBLGen Pro and am quite impressed so far. This is a very elegant approach to O/R mapping. I'm having a problem though:
protected new void tcIndex_Click(object sender, System.EventArgs e)
{
// this._accounts is a Typed List
this._accounts.Clear() ;
this._predicate = PredicateFactory.Like(Proximity.References.DAL.AccountFieldIndex.AccKey, "B%") ;
this._filter.Add(this._predicate) ;
this._sorter = new SortExpression(SortClauseFactory.Create(Proximity.Preferences.DAL.AccountFieldIndex.AccKey,
SortOperator.Ascending)) ;
this._accounts.Fill(0, _sorter, true, _predicate) ;
}
Is this example, the search-like pattern is "B%". This query should produce a result with all AcountFieldIndex.AccKeys that start with B, but it doesn't. It produces no records. However, when I change the pattern to "B%%%", it WILL list results such as "Best" and "Bags", but not "Baltimore" or "Ballgame". This is not the way the "B%" pattern should work.
Is this a bug, or am I doing something wrong?
Thanks - - Jeff