Created
November 1, 2011 08:46
-
-
Save jayhjkwon/1330170 to your computer and use it in GitHub Desktop.
CastleActiveRecordSample-Config XML file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8" ?> | |
<activerecord> | |
<config> | |
<add | |
key="connection.driver_class" | |
value="NHibernate.Driver.SqlClientDriver" /> | |
<add | |
key="dialect" | |
value="NHibernate.Dialect.MsSql2008Dialect" /> | |
<add | |
key="connection.provider" | |
value="NHibernate.Connection.DriverConnectionProvider" /> | |
<add | |
key="connection.connection_string" | |
value="Data Source=.\SQL2K8R2EXP64;Initial Catalog=MyDatabase;Persist Security Info=True;User ID=sa;Password=******" /> | |
<add | |
key="proxyfactory.factory_class" | |
value="NHibernate.ByteCode.Castle.ProxyFactoryFactory, NHibernate.ByteCode.Castle" /> | |
</config> | |
</activerecord> |
Author
jayhjkwon
commented
Nov 1, 2011
- Important notice
- need to set "Copy to Output Dirdctory" to "Copy Always" and "Build Action" to "Content"
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment