v1.2.0.0: MetaEditPanel and remoting improvements

  Subscribe
12/21/2009 - Marco (updated on 11/13/2017)

The summary below describes major new features, items of note and breaking changes. The full list of issues is also available for those with access to the Encodo issue tracker.

New Features

  • QNO-1793: Add support for sticky connection to ensure objects stay in same transaction
  • QNO-1070: Add capability to save entire object-trees
  • QNO-1858: Restructure generic API for list and object access on IMetaReadable & IMetaWritable
  • QNO-1908: Create HTML based data preview control
  • QNO-1910: MetaEditPanel: Implement new layouting features

Highlights

  • QNO-1817: Add "OrderByDescending" to IQueryCondition to match the Linq API
  • QNO-1739: Remoting should return the correct type for database exceptions
  • QNO-1331: Clean up the startup form handling (can we get rid of the background, hidden window?)
  • QNO-1871: Add support for nested transactions to PostgreSql and SQL Server
  • QNO-1905: MetaTreeView: Respect relation target class in nodes
  • QNO-1872: Upgrade to latest nUnit
  • QNO-1950: Constants are generated with a reference to the model, but no "using"
  • QNO-1501: Exchange items are synchronized, but do not appear in the Outlook client

Breaking changes

QNO-1817: Remove "Prepare*" methods from the generated class API

Applications should instead use the new IDataList.Clone() method, like this:

var list = scheduledLesson.PrepareScheduledTeachers(connection);

// becomes...

var list = scheduledLesson.ScheduledTeachers.Clone(DataListParts.Dedicated);
```[QNO-1842](https://secure.encodo.ch/jira/browse/QNO-1842): Rename "ClearCache" and "ClearCaches" to "Unload" and "UnloadAll"

These methods were not used very often and have been removed rather than made obsolete.[QNO-1787](https://secure.encodo.ch/jira/browse/QNO-1787): Rename IDataConnection.LoadObject() to GetObject()

These methods were not used very often and have been removed rather than made obsolete.[QNO-1787](https://secure.encodo.ch/jira/browse/QNO-1787): Refactoring: IDataList methods (change *Objects; remove *InQuery)

Customer code did not contain many references to these methods yet, so they were simply renamed rather than copied and made obsolete.[QNO-1888](https://secure.encodo.ch/jira/browse/QNO-1888): Rename "RollbackTransaction" to "RollBackTransaction"

Customer code did not contain any references to this method yet, so it was simply renamed rather than copied and made obsolete.[QNO-1941](https://secure.encodo.ch/jira/browse/QNO-1941): Rename IViewPropertyControlAspect to IViewControlIdentifierAspect

Customer code did not contain any references to this interface yet, so it was simply renamed rather than copied and made obsolete.[QNO-1968](https://secure.encodo.ch/jira/browse/QNO-1968): Renamed IViewPropertyControlAspect to IViewControlIdentifierAspect

Customer code did not contain any references to this interface yet, so it was simply renamed rather than copied and made obsolete.[QNO-1883](https://secure.encodo.ch/jira/browse/QNO-1883): Rename "IDatabase.ConnectionSettings" to "IDatabase.DefaultConnectionSettings"

Customer code did not contain any references to this interface yet, so it was simply renamed rather than copied and made obsolete.[QNO-1885](https://secure.encodo.ch/jira/browse/QNO-1885): Change generated constructor to use IDataConnection instead of IPersistableMarker

In order to accommodate this change in the generated code, applications must do the following:


     1. Upgrade to Quino 1.2.0.0
     2. Manually update generated code in the following ways:

Change all constructors like this:

GeneratedClass(IPersistentClassMarker marker, IMetaClass metaClass)
base(marker, metaClass, false)

// Change to the following

GeneratedClass(IDataConnection connection, IMetaClass metaClass)

base(connection, metaClass, false)

Sign up for our Newsletter