ForTypesThatDeriveFrom<YourEntity>(m => m.IgnoreProperty(x => x.MyProperty);

On Mon, Jun 15, 2009 at 6:45 AM, Hudson Akridge <[email protected]>wrote:

> Honestly, you should probably swap to Fluent Mappings.
>
> On Sun, Jun 14, 2009 at 12:42 PM, dhasenan <[email protected]> wrote:
>
>>
>> I have one domain class with two properties that should not be mapped.
>> For all my other domain classes, all properties should be mapped. I've
>> been looking through the documentation and the code, but I can't see
>> how to exclude certain properties from a type. Even messing with the
>> mapping models, I don't see a way to do this.
>>
>> Where should I look for excluding properties from a mapped type?
>>
>>
>>
>
>
> --
> - Hudson
> http://www.bestguesstheory.com
> http://twitter.com/HudsonAkridge
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" 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/fluent-nhibernate?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to