Hello everyone,

I've got two tables:

[WorkflowNodes]:
Id, int
WorkflowId, int
Type, string
Implementation, string

and [Workflow]:
Id, int
Name, string
Description, string
CreationDate, datetime

I would like to create a List collection of these objects but I don't
know how to write the mapping for the composite key WorkflowId:
...
    <id name="Id" column="Id" type="Int32">
      <generator class="assigned" />
    </id>

    <property name="Name" column="Name" type="string"/>
    <property name="Description" column="Description" type="string"/>
    <property name="CreationDate" column="CreationDate"
type="DateTime" />
    <list ...>
    ???
    </list>
...

How do I write the mapping for the composite-key "WorkflowId" from the
WorkflowNodes table and get a collection of type list?

Many thanks in advance,

Jan Apel

-- 
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