This project is read-only.
1

Closed

Support for Contains method of string types

description

Add support for contains method of string types (like search):
{{
 em = openErpService.GetEntity<Employee>(e => e.Name.Contains("minis"));
}}

Contains method only works with collections:

{{
List<string> attendanceActionValues = new List<string>();
        attendanceActionValues.Add(Attendance.Sign_in);
        attendanceActionValues.Add(Attendance.Sign_out);
        Attendance lastAttendance = openErpService.GetEntity<Attendance>(a => attendanceActionValues.Contains(a.Action));
}}
Closed Jun 13, 2013 at 8:44 AM by Jlob

comments

wrote Jun 13, 2013 at 8:44 AM

Resolved with changeset 20205: Fixed a few bugs

wrote Dec 1 at 10:14 AM