Hi there,
I'm using VS2005 (C#) with SQL Server and we need to generate the following query:
SELECT *
FROM Users
WHERE "%;"+UserName+";%" LIKE "%;sander;%"
The following code is not enough:
UserCollection users = new UserCollection();
IPredicate filter = (UserFields.Inlognaam % ("%" + user.FullUsername + "%"));
users.GetMulti(filter);
The problem is that i need to add some text ("%;" and ";%") to the left side the expression, but the compiler won't accept that.
Can you help me with this?