<hibernate-configuration xmlns="urn:nhibernate-configuration-2.2"> <session-factory> <property name="connection.provider">NHibernate.Connection.DriverConnectionProvider</property> <property name="dialect">NHibernate.Dialect.MsSql2005Dialect</property> <property name="connection.driver_class">NHibernate.Driver.SqlClientDriver</property> <property name="connection.connection_string">Server=FADIK-TOSH\SQLEXPRESS;Database=DatabaseNHB;Trusted_Connection=True;</property> <!--<property name="connection.connection_string">Data Source=DatabaseNHB.mdf</property>--> <property name="show_sql">true</property> <!-- we want to see the SQL NHibernate generates and sends to the database (highly recommended for debugging purposes during development) --> </session-factory> </hibernate-configuration>
"Cannot open database "DatabaseNHB"
'fadik-TOSH\fadik
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)