Try this:

var holder = ActiveRecordMediator.GetSessionFactoryHolder();
var nHibernateConfiguration = holder.GetConfiguration( typeof(
ActiveRecordBase ) );
nHibernateConfiguration.GetProperty( "dialect" ) );



Flominator wrote:
> Hi all,
>
> I want to check, whether the database configured at my app.config file
> is Firebird or not. So I thought I'd simply check the value of the
> configuration key dialect for Firebird.
>
> I tried almost every code snippet I've found only, but I couldn't get
> it to work. Can someone maybe post some working code?
>
> Thanks in advance,
>
> Flo
>
> PS: I'm using .NET 3.5 in WinXP
> >
>   

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" 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/castle-project-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to