Is there anyway to set the "auto-import" property per class and not in the
conventions?  I want to override my convention in a couple of classes and
can't figure out how.

Cheers,
Stefan

On Tue, Sep 22, 2009 at 5:14 AM, Paul Batum <[email protected]> wrote:

> Its set like this:
>
> return Fluently.Configure()
>                 .Database(
>                  // database stuff here
>                 )
>                 .Mappings(m =>
>                 {
>                     // fluent mapping stuff here
>
>                     m.FluentMappings.Conventions.Add(AutoImport.Always());
> <----------- HERE
>                 }
>
> Let me know how it goes,
>
> Paul Batum
>
>
> On Tue, Sep 15, 2009 at 5:58 PM, Valeriu Caraulean <[email protected]>wrote:
>
>>
>> Anybody, ideas?
>> I don't want back to .hbm's.
>>
>> Why FluentNHibernate broke backwards compatibility in a such way?
>>
>> On Sep 14, 6:21 pm, Valeriu Caraulean <[email protected]> wrote:
>> > Hi everybody.
>> >
>> > Just updated & have my mappings broken because there is no anymore
>> > Not.AutoImport(). I cannot find this feature in classes, just a kind
>> > of AutoImport class, which I cannot use in my mappings.
>> > I'm not using the automapper, we're doing mappings with ClassMap<T>
>> >
>> > Any ideas how I can achieve the "auto-import = false" in my mapping
>> > class?
>> >
>> > BTW, also there is no direct access to class attributes. Why I cannot
>> > set desired attributes if there is no "fluent" way to do what I want?
>> >
>> > Thanks.
>>
>>
>
> --~--~---------~--~----~------------~-------~--~----~
> 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]<fluent-nhibernate%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/fluent-nhibernate?hl=en
> -~----------~----~----~----~------~----~------~--~---
>
>

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