This project is read-only.
1

Closed

NO Core should map existing view model objects with the correct sort of adapter/Oid.

description

The NakedObjects.Persistor.Objectstore.ObjectStorePersistor assumes that any existing objects that require an adapter (the AdapterForExistingObject(object domainObject) are not already mapped should be treated as transient. This results in them having an EntityOid.

We have a requirement to "introduce" objects to the framework that are view models (implement IViewModel) and so should have a ViewModelOid.

This ticket is to enhance the ObjectStorePersistor to do this detection.

A patched version of the class is attached.

file attachments

Closed Mar 21, 2014 at 4:30 PM by RichardPawson

comments

RichardPawson wrote Feb 21, 2014 at 10:47 AM

Fixed (in change set that was tagged with NB 615)