Version History
v2011 vol 2
Auto-generated Int64 keys
You can now have auto-generated Int64 (long) key properties in your persistent classes.
Related Blog Post: XPO - 11.2 Sneak Peek - Auto-generated Int64 Keys
CriteriaOperator Improvements
-
A new NULL literal is now supported in criteria strings, which is automatically converted into ConstantValue(null).
-
You can now specify how objects and enumerations are serialized and deserialized when converting criteria into string representations and vice versa.
For this purpose, the CriteriaOperator class now exposes two new events - UserValueToString and UserValueParse.
-
The Iif functional operator has been improved to support specifying as many logical expressions as you require.
[C#]
CriteriaOperator.Parse("Iif(Name = 'Bob', 1, Name = 'Dan', 2, Name = 'Sam', 3, 4)")
-
A newly introduced IsExactType function determines whether a particular object has a specified type.
[C#]
CriteriaOperator.Parse("IsExactType(order, 'MyApplication.DailyOrder')")
-
A newly introduced IsInstanceOfType function determines whether a particular object is of a specified type or derives from it.
[C#]
CriteriaOperator.Parse("IsInstanceOfType(person, 'MyApplication.Person')")
-
We have introduced several numeric conversion functions - ToInt, ToLong, ToDouble, ToFloat, and ToDecimal.
LINQPad Data Context Driver
With this relase, we are introducing a LINQPad data context driver, which provides first-class support for eXpress Persistent Objects (XPO).
Now you can easily run interactive LINQ queries against more than a dozen database systems.

XPCollection Performance Improvements
With this release, XPCollections will execute significantly faster when inserting and deleting objects into and from a large associated 1-M details collection.
The greater the size of the details collection, the more noticeable these improvements will be.
Related Blog Post: XPO - 11.2 Sneak Peek - XPCollection Performance Improvements
XPO Profiler Improvements
The XPO Profiler is now shipping.
We have addressed issues found during beta testing and introduced new functionality.
You can now export profiling log to XLS files.

Amongst the UI improvements are the new details view, the ability to display SQL queries in shortened format, and support for custom layouts.

You can profile applications deployed to a shared host.
With the newly introduced support for profiling applications in medium trust environments,
all you need to do is host a WCF service along with your application.
Related Blog Post: Profiling Medium Trust Web Applications