2009-01-18 41 views

回答

23

我發現它在google.com:

<connectionStrings> 
    <add name="connection_string_name" connectionString="[connection string]"/> 
</connectionStrings> 

<hibernate-configuration xmlns="urn:nhibernate-configuration-2.2"> 
    <session-factory> 
     ... 
     <property name="connection.connection_string_name">connection_string_name</property> 
     ... 
    </session-factory> 
</hibernate-configuration> 
相關問題