We are two months away from our next major update (v19.1). The purpose of this post is to share details and give users the opportunity to test new functionality before we wrap up our current dev cycle. If you own an active Universal or DXperience subscription, you can download the CTP build from the DevExpress Download Manager and test the features described in this blog post. Let us know how well the new features address your requirements. This will help us fine-tune our code before the launch.
If you are using a trial version and want immediate access to the features we mention in this blog post, purchase a Universal or DXperience subscription license and you will automatically receive access to the CTP version. If you are ready to upgrade to Universal or DXperience from another subscription level, email us at clientservices@devexpress.com for preferential upgrade pricing.
Async/Await Method Enhancements
Asynchronous execution was implemented at the XPO layer in v18.2. Connection providers used synchronous versions of IDbConnection, IDbCommand, IDataReader, and other ADO.NET API. We have now propagated our async/await method support to the underlying ADO.NET drivers.
XPBindingSource
XPBindingSource is a lightweight data source for WinForms and WPF runtime-only applications. It serves to data-bind UI controls and uses XPO sources internally (XPCollection, XPQuery, XPView). Think of it as an XPO analog of the standard BindingSource.
XPBindingSource simplifies development in the following use cases:
- XPO data sources used on visually inherited Windows Forms and User Controls (T121952).
- Data refresh in persistent objects and collections (A643).
- Immediate data refresh in bound UI controls (T685021).
- Binding to nullable properties (S33566).
- Binding to object references without complex or custom property descriptors (T319505).
Refer to the WinForms and WPF code examples to get started.
Connection Provider Enhancements
Prepared SQL statements for PostgreSQL can be used to increase INSERT and SELECT operation performance between 40% and 80%, depending on your data model structure and use-case scenario. For more information, check out our implementation and test results in this KB article.
XPO now supports PostgreSQL 'date' type and maps it to System.DateTime. Note that we haven't introduced any breaking changes into XPO-generated databases. eXpress Persistent Objects continues to map System.DateTime to 'timestamp'.
Static methods GetConnectionString() in PostgreSQL, DB2, SQL Server, MySQL, and Firebird connection providers now support a port parameter. ORM Data Model Wizard displays the corresponding field in the UI:
We Need Your Feedback!
We appreciate any thoughts you post to the comments section below. It would also help us if you could answer the questions in the survey below. Thank you very much for your help!
Love XPO and want to help us promote it? Add the package through Nuget.org instead of DevExpress Nuget!