From: <fab...@us...> - 2009-10-16 19:04:40
|
Revision: 4764 http://nhibernate.svn.sourceforge.net/nhibernate/?rev=4764&view=rev Author: fabiomaulo Date: 2009-10-16 19:04:31 +0000 (Fri, 16 Oct 2009) Log Message: ----------- Fix NH-1943 (references) Modified Paths: -------------- branches/2.1.x/nhibernate/doc/reference/modules/configuration.xml branches/2.1.x/nhibernate/doc/reference/modules/quickstart.xml Modified: branches/2.1.x/nhibernate/doc/reference/modules/configuration.xml =================================================================== --- branches/2.1.x/nhibernate/doc/reference/modules/configuration.xml 2009-10-16 18:02:20 UTC (rev 4763) +++ branches/2.1.x/nhibernate/doc/reference/modules/configuration.xml 2009-10-16 19:04:31 UTC (rev 4764) @@ -458,12 +458,10 @@ <entry> Specifies the bytecode provider to use to optimize the use of reflection in NHibernate. Use <literal>null</literal> to disable the optimization completely, <literal>lcg</literal> - to use lightweight code generation (supported on .NET 2.0 only), and <literal> - codedom</literal> to use CodeDOM-based code generation (supported on .NET 1.1, has problems - with generic types on .NET 2.0). + to use lightweight code generation. <para> <emphasis role="strong">eg.</emphasis> - <literal>null</literal> | <literal>lcg</literal> | <literal>codedom</literal> + <literal>null</literal> | <literal>lcg</literal> </para> </entry> </row> Modified: branches/2.1.x/nhibernate/doc/reference/modules/quickstart.xml =================================================================== --- branches/2.1.x/nhibernate/doc/reference/modules/quickstart.xml 2009-10-16 18:02:20 UTC (rev 4763) +++ branches/2.1.x/nhibernate/doc/reference/modules/quickstart.xml 2009-10-16 19:04:31 UTC (rev 4764) @@ -5,7 +5,7 @@ <title>Getting started with NHibernate</title> <para> - This tutorial explains a setup of NHibernate 1.0.2 within a Microsoft + This tutorial explains a setup of NHibernate 2.1.0 within a Microsoft environment. The tools used in this tutorial are: </para> @@ -15,13 +15,13 @@ ASP.NET. </listitem> <listitem> - Microsoft SQL Server 2000 - the database server. This tutorial uses - the desktop edition (MSDE), a free download from Microsoft. Support + Microsoft SQL Server 2005 - the database server. This tutorial uses + the desktop edition (SQL-EXPRESS), a free download from Microsoft. Support for other databases is only a matter of changing the NHibernate SQL dialect and driver configuration. </listitem> <listitem> - Microsoft Visual Studio .NET 2003 - the development environment. + Microsoft Visual Studio .NET (at leats 2005) - the development environment. </listitem> </orderedlist> @@ -40,7 +40,8 @@ configuration elements according to the listing below: </para> - <programlisting><![CDATA[<?xml version="1.0" encoding="utf-8" ?> + <programlisting> + <![CDATA[<?xml version="1.0" encoding="utf-8" ?> <configuration> <!-- Add this element --> <configSections> @@ -53,10 +54,11 @@ <!-- Add this element --> <hibernate-configuration xmlns="urn:nhibernate-configuration-2.2"> <session-factory> - <property name="dialect">NHibernate.Dialect.MsSql2000Dialect</property> + <property name="dialect">NHibernate.Dialect.MsSql2005Dialect</property> <property name="connection.provider">NHibernate.Connection.DriverConnectionProvider</property> - <property name="connection.connection_string">Server=(local);initial catalog=quickstart;Integrated Security=SSPI</property> - + <property name="connection.connection_string">Server=localhost\SQLEXPRESS;initial catalog=quickstart;Integrated Security=True</property> + <property name="proxyfactory.factory_class">NHibernate.ByteCode.LinFu.ProxyFactoryFactory, NHibernate.ByteCode.LinFu</property> + <mapping assembly="QuickStart" /> </session-factory> </hibernate-configuration> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |