Update of /cvsroot/nhibernate/nhibernate/src/NHibernate.Examples In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23374 Added Files: .cvsignore App.config AssemblyInfo.cs NHibernate.Examples-1.1.csproj NHibernate.Examples.build NHibernate.Examples.nunit Log Message: Adding examples into cvs. --- NEW FILE: .cvsignore --- bin obj .#* *.user *.xsx --- NEW FILE: App.config --- <?xml version="1.0" encoding="utf-8" ?> <configuration> <configSections> <section name="nhibernate" type="System.Configuration.NameValueSectionHandler, System, Version=1.0.3300.0,Culture=neutral, PublicKeyToken=b77a5c561934e089" /> <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net" /> </configSections> <nhibernate> <add key="hibernate.show_sql" value="true" /> <add key="hibernate.connection.provider" value="NHibernate.Connection.DriverConnectionProvider" /> <add key="hibernate.dialect" value="NHibernate.Dialect.MsSql2000Dialect" /> <add key="hibernate.connection.driver_class" value="NHibernate.Driver.SqlClientDriver" /> <add key="hibernate.connection.connection_string" value="Server=localhost;initial catalog=nhibernate;Integrated Security=SSPI" /> </nhibernate> <!-- This section contains the log4net configuration settings --> <log4net> <!-- Define some output appenders --> <appender name="rollingFile" type="log4net.Appender.RollingFileAppender,log4net" > <param name="File" value="log.txt" /> <param name="AppendToFile" value="true" /> <param name="RollingStyle" value="Date" /> <param name="DatePattern" value="yyyy.MM.dd" /> <param name="StaticLogFileName" value="true" /> <layout type="log4net.Layout.PatternLayout,log4net"> <param name="ConversionPattern" value="%d [%t] %-5p %c [%x] <%X{auth}> - %m%n" /> </layout> </appender> <!-- Setup the root category, add the appenders and set the default priority --> <root> <priority value="ALL" /> <appender-ref ref="rollingFile" /> </root> </log4net> </configuration> --- NEW FILE: NHibernate.Examples.nunit --- <NUnitProject> <Settings activeconfig="Debug" /> <Config name="Debug" appbase="bin\Debug" configfile="NHibernate.Examples.dll.config" binpathtype="Auto"> <assembly path="NHibernate.Examples.dll" /> </Config> <Config name="Release" appbase="bin\Release" configfile="NHibernate.Examples.dll.config" binpathtype="Auto"> <assembly path="NHibernate.Examples.dll" /> </Config> </NUnitProject> --- NEW FILE: AssemblyInfo.cs --- using System.Reflection; using System.Runtime.CompilerServices; [assembly: AssemblyTitleAttribute("NHibernate.Examples")] [assembly: AssemblyDescriptionAttribute("Simple Examples for NHibernate.")] [assembly: AssemblyCompanyAttribute("nhibernate.sf.net")] [assembly: AssemblyProductAttribute("NHibernate")] [assembly: AssemblyCopyright("Licensed under LGPL.")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] // // Version information for an assembly consists of the following four values: // // Major Version // Minor Version // .NET Framwork Version // Build Number // // You can specify all the values or you can default the Revision and Build Numbers // by using the '*' as shown below: [assembly: AssemblyVersionAttribute("0.0.5000.6")] [assembly: AssemblyInformationalVersionAttribute("0.0")] [assembly: AssemblyFileVersionAttribute("0.0000.6")] [assembly: AssemblyDelaySignAttribute(false)] --- NEW FILE: NHibernate.Examples.build --- <?xml version="1.0" ?> <project name="NHibernate.Examples" default="build" xmlns="http://nant.sf.net/schemas/nant-0.84.win32.net-1.0.xsd" > <!-- Required properties: * build.dir - (path) root level to build to, assemblies will go in ${build.dir}/bin * build.debug - (true|false) debug build? * current.build.defines - framework-specific build defines --> <target name="build" description="Simple Examples for NHibernate"> <csc target="library" define="${current.build.defines}" debug="${build.debug}" output="${build.dir}/bin/${nant.project.name}.dll" > <references basedir="${build.dir}/bin"> <includes name="System.dll" /> <includes name="System.XML.dll" /> <includes name="System.Data.dll" /> <includes name="NHibernate.dll" /> <includes name="nunit.framework.dll" /> </references> <resources prefix="NHibernate.Examples" dynamicprefix="true"> <includes name="**/*.xml" /> <excludes name="bin/**/*.xml" /> </resources> <sources failonempty="true"> <includes name="**/*.cs" /> </sources> </csc> <copy file="App.config" tofile="${build.dir}/bin/${nant.project.name}.dll.config" /> </target> </project> --- NEW FILE: NHibernate.Examples-1.1.csproj --- <VisualStudioProject> <CSHARP ProjectType = "Local" ProductVersion = "7.10.3077" SchemaVersion = "2.0" ProjectGuid = "{E3482030-5828-4112-9906-D4C5153DCE3F}" > <Build> <Settings ApplicationIcon = "" AssemblyKeyContainerName = "" AssemblyName = "NHibernate.Examples" AssemblyOriginatorKeyFile = "" DefaultClientScript = "JScript" DefaultHTMLPageLayout = "Grid" DefaultTargetSchema = "IE50" DelaySign = "false" OutputType = "Library" PreBuildEvent = 'copy /y "$(ProjectDir)App.config" "$(TargetPath).config"' PostBuildEvent = "" RootNamespace = "NHibernate.Examples" RunPostBuildEvent = "OnBuildSuccess" StartupObject = "" > <Config Name = "Debug" AllowUnsafeBlocks = "false" BaseAddress = "285212672" CheckForOverflowUnderflow = "false" ConfigurationOverrideFile = "" DefineConstants = "DEBUG;TRACE" DocumentationFile = "" DebugSymbols = "true" FileAlignment = "4096" IncrementalBuild = "false" NoStdLib = "false" NoWarn = "" Optimize = "false" OutputPath = "bin\Debug\" RegisterForComInterop = "false" RemoveIntegerChecks = "false" TreatWarningsAsErrors = "false" WarningLevel = "4" /> <Config Name = "Release" AllowUnsafeBlocks = "false" BaseAddress = "285212672" CheckForOverflowUnderflow = "false" ConfigurationOverrideFile = "" DefineConstants = "TRACE" DocumentationFile = "" DebugSymbols = "false" FileAlignment = "4096" IncrementalBuild = "false" NoStdLib = "false" NoWarn = "" Optimize = "true" OutputPath = "bin\Release\" RegisterForComInterop = "false" RemoveIntegerChecks = "false" TreatWarningsAsErrors = "false" WarningLevel = "4" /> </Settings> <References> <Reference Name = "System" AssemblyName = "System" HintPath = "C:\WINNT\Microsoft.NET\Framework\v1.1.4322\System.dll" /> <Reference Name = "System.Data" AssemblyName = "System.Data" HintPath = "C:\WINNT\Microsoft.NET\Framework\v1.1.4322\System.Data.dll" /> <Reference Name = "System.XML" AssemblyName = "System.Xml" HintPath = "C:\WINNT\Microsoft.NET\Framework\v1.1.4322\System.XML.dll" /> <Reference Name = "NHibernate-1.1" Project = "{EE3B9473-7C64-44FF-B342-91B558D413A8}" Package = "{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}" /> <Reference Name = "nunit.framework" AssemblyName = "nunit.framework" HintPath = "..\..\external-bin\nunit.framework.dll" /> </References> </Build> <Files> <Include> <File RelPath = "App.config" BuildAction = "None" /> <File RelPath = "AssemblyInfo.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "NHibernate.Examples.build" BuildAction = "None" /> <File RelPath = "NHibernate.Examples.nunit" BuildAction = "None" /> <File RelPath = "Cascades\Alias.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Cascades\Alias.hbm.xml" BuildAction = "EmbeddedResource" /> <File RelPath = "Cascades\CascadeFixture.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Cascades\Child.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Cascades\Child.hbm.xml" BuildAction = "EmbeddedResource" /> <File RelPath = "Cascades\Parent.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Cascades\Parent.hbm.xml" BuildAction = "EmbeddedResource" /> <File RelPath = "ForumQuestions\TestCase.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "ForumQuestions\OfferExample\Offer.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "ForumQuestions\OfferExample\Offer.hbm.xml" BuildAction = "EmbeddedResource" /> <File RelPath = "ForumQuestions\OfferExample\OfferExample.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "ForumQuestions\OfferExample\OfferType.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "ForumQuestions\OfferExample\OfferType.hbm.xml" BuildAction = "EmbeddedResource" /> <File RelPath = "ForumQuestions\T1078029\Member.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "ForumQuestions\T1078029\Member.hbm.xml" BuildAction = "EmbeddedResource" /> <File RelPath = "ForumQuestions\T1078029\MemberFixture.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "ForumQuestions\T1104613\A.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "ForumQuestions\T1104613\A.hbm.xml" BuildAction = "EmbeddedResource" /> <File RelPath = "ForumQuestions\T1104613\AOuterJoin.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "ForumQuestions\T1104613\OuterJoinFixture.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "QuickStart\User.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "QuickStart\User.hbm.xml" BuildAction = "EmbeddedResource" /> <File RelPath = "QuickStart\UserFixture.cs" SubType = "Code" BuildAction = "Compile" /> </Include> </Files> </CSHARP> </VisualStudioProject> |