Hi,

I created an issue (https://nhibernate.jira.com/browse/NH-3657) and 
submitted a pull request.

RP

On Monday, August 11, 2014 2:46:07 PM UTC+1, Ricardo Peres wrote:
>
> I guess it's not implemented. Why not create an issue for it at 
> nhibernate.jira.com?
>
> RP
>
> On Monday, August 11, 2014 1:12:16 PM UTC+1, Andre wrote:
>>
>>
>> This one's a bit older, but I've just stumbled upon this issue, too. Any 
>> updates about this?
>>
>>
>> Am Mittwoch, 31. Juli 2013 17:23:13 UTC+2 schrieb Nick Branstein:
>>>
>>> I am having difficulties when attempting to perform One To One mappings 
>>> with Interfaces using Map By Code.
>>>
>>> For some reason the Class Action is missing from One To One.  Because I 
>>> am doing everything in my project to interfaces I need to tell NHibernate 
>>> the concrete type in the mappings, however, I cannot do this because Class 
>>> is not available.  Is there a reason this is not available in the One To 
>>> One mapping or am I doing something incorrect here?
>>>
>>> Example:
>>>
>>> OneToOne(p => p.SomeProp, m =>
>>>             {
>>>                 m.Column(c => c.Name("SomeColumn"));
>>>                 m.ForeignKey("FK");
>>>                 //m.Class(typeof(SomePropConcreteType)); // This is not 
>>> available to me in OneToOne
>>>                 m.NotNullable(true);
>>>             });
>>>
>>> This same property however is available to me in ManyToOne
>>> ManyToOne(p => p.SomeProp, m =>
>>>             {
>>>                 m.Column(c => c.Name("SomeColumn"));
>>>                 m.ForeignKey("FK");
>>>                 //m.Class(typeof(SomePropConcreteType)); // This is not 
>>> available to me in OneToOne
>>>                 m.NotNullable(true);
>>>             });
>>>
>>>
>>>

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to