Today I released Camlex.Net 2.4 version. The following functionality was added:
- Querying by user id (DataType.UserId):
will produce the following CAML:
Querying by user names is still supported of course. It works like in previous versions – you need to cast rvalue to (DataTypes.User):
and you will get the following CAML:
- Querying by current user’s id:
will create a query for retrieving items which has Author field equal to current user:
Like many other features this release was initiated by feedback which we receive from Sharepoint developers who use Camlex.Net in their work. If you think that some feature will be useful for Camlex, don’t hesitate to discuss it on the Camlex discussions section on the Codeplex.