Thank you Tuna. This is exactly what I need.

2010/7/6 Tuna Toksoz <[email protected]>:
> It was a sample code for Castle NH Facility. You should concentrate on the
> code itself, not the method names.
> You can serialize the configuration into a file. You should, however, be
> aware of config may have changed, so you should invalidate it when
> necessary.
> http://github.com/castleproject/Castle.Facilities.NHibernateIntegration/blob/master/src/Castle.Facilities.NHibernateIntegration/Persisters/DefaultConfigurationPersister.cs
>
>
> Tuna Toksöz
> Eternal sunshine of the open source mind.
>
> http://devlicio.us/blogs/tuna_toksoz
> http://tunatoksoz.com
> http://twitter.com/tehlike
>
>
>
>
> On Tue, Jul 6, 2010 at 9:57 AM, Ilia Ternovich <[email protected]> wrote:
>>
>> Hello Fabio!
>>
>> Thanks for the reply but there are several questions with your post:
>>
>> 1. What is IConfigurationBuilder? It isn't shipped with NHibernate.
>> 2. From which base class you override GetConfiguration() method?
>> 3. base.GetConfiguration(config) and this.WriteConfigurationToStream()
>> -- where I can see implementation of those methods?
>>
>> Thanks!
>>
>> 2010/7/5 Fabio Maulo <[email protected]>:
>> >
>> > http://nhforge.org/blogs/nhibernate/archive/2009/03/13/an-improvement-on-sessionfactory-initialization.aspx
>> >
>> > On Mon, Jul 5, 2010 at 1:51 PM, tillias <[email protected]> wrote:
>> >>
>> >> Hello!
>> >>
>> >> Is there any "native" or "out-of-box" way to persist NHibernate
>> >> configuration? I'd like to parse it first time I launch my app from
>> >> calling assemble and then cache it into some file. Then load config
>> >> from that cache instead of parsing calling assemblies?
>> >>
>> >> I've looked through Utils namespace but found nothing.
>> >>
>> >> Thanks!
>> >>
>> >> --
>> >> 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
>> >
>> > --
>> > 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.
>> >
>>
>> --
>> 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.
>>
>
> --
> 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.
>

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