We have an agregate root "Entity" which has a collection of
"EntityVersions"
It exposes the collection and a LatestVersion property exposing the
newest EntityVersion.

Entity has no persistent data so our schema is solely

TABLE_EntityVersion
EntityId
VersionId
.....



We would like to ask Nhibernate for an Entity and have it create an
Entity instance, set the id and load the collection of related
versions from the EntityVersion table.

Is this currently possible? Does anyone see any issues with writing
our own IEntityPersister like the Custom example in the src?

Thanks

--

You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en.


Reply via email to