NHibernate doesn't have its own SQL Server ADO.NET driver/client. NHibernate.SqlClientDriver is an *NHIBERNATE* driver that uses the native client. In short: create your connection string as usual.
Diego On Mon, Jun 7, 2010 at 14:33, partybanan <[email protected]> wrote: > Hello. > > I need to connect to a SQL Server 2008 that has "force protocol > encryption" defined which means that you need to encrypt all queries > against the database. WIth the native SQL client driver from Microsoft > this is no problem since you just append "encrypt=yes;" to the > connection string and install the SSL certificate for the SQL Server. > My question is if this will work with the driver from NHibernate > "NHibernate.SqlClientDriver" or if this is not supported? > > -- > 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]<nhusers%[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.
