Scenario: LLBLv2 (Febryary 12,2007)
BL Platform: Adapter
UI Platform: WinForms
Description:
I have a standard winforms comboBox data-bound to an entity collection (ecEmployees) that retreives all employees.
I want to use the collection's FindMatches() method to retrieve the index of an employee in the collection by his name.
Dim matches As List(Of Integer) = Me.ecEmployees.FindMatches(DAL.HelperClasses.EmployeesFields.FirstName = "Omar")
This works fine. The issue I am having is the string comparison is case-sensitive so that if I change the predicate to filter for "omar" (all small caps) I don't retrieve any matches.
Is there a way to write the predicate in this fashion
DAL.HelperClasses.EmployeesFields.FirstName.ToUpper() = "OMAR"