Ah! Max.
For the domain please use just OOP forgetting the DB schema.

On Thu, Apr 28, 2011 at 2:08 PM, Fabio Maulo <[email protected]> wrote:

> Can you send me your simplified domain to make then a public example ?
>
>
> On Thu, Apr 28, 2011 at 1:54 PM, Max Malmgren <[email protected]> wrote:
>
>> Hi!
>>
>> I've got the following tables(simplified):
>>
>> Image (Id)
>> ImageContext (Id)
>> ImageContextImage (Id, ImageContextId, ImageId, ImageFilterId)
>> ImageFilter (Id)
>>
>> And the following classes:
>>
>> ImageInContext:
>>     IList<ImageFilter> ImageFilters
>>
>> MyEntity
>>    ImageInContext Image
>>    ImageContext ImageContext
>>
>> I'm not sure how to map this, seeing as I want my ImageInContext to
>> have the list of ImageFilters that corresponds to the ImageContext in
>> the containing type. I've tried using Fluent Nhibernates
>> HasManyToMany, HasMany, AsTernaryAssociation but I can't figure it
>> out. Is this kind of thing supported or should I use QueryOver
>> instead?
>>
>> Best regards!
>>
>> --
>> 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.
>>
>>
>
>
> --
> Fabio Maulo
>
>


-- 
Fabio Maulo

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