Many-to-one

On Tuesday, April 2, 2013 7:40:16 PM UTC+1, Sean Farrow wrote:

> Hi,
>
> I’m new to NHibernate and have the following c# enties:
>
> Public class SerializedEntityType {
>
> Public int SerializedEntityID { get; set; }
>
> Public string FullName { get; set; }
>
> }
>
> Public class ExtractedData {
>
> Public int ExtractedDataID { get; set; }
>
> Public SerializedEntityType { get; set; }
>
> }
>
> Given that one ExtractedData entity can contain one SerializedEntityType 
> entity. What is the best way of mapping this?
>
> Any help appreciated.
>
> Cheers
>
> Sean.
>

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


Reply via email to