NHibernate 4 support
* replace NHibernate33 and NHibernate32 packages with NHibernate3 package
This commit is contained in:
12
.gitignore
vendored
12
.gitignore
vendored
@@ -54,19 +54,15 @@ PrecompiledWeb
|
||||
*.dotCover
|
||||
/src/Spring/Spring.Aop/Spring.Aop.xml
|
||||
/src/Spring/Spring.Core/Spring.Core.xml
|
||||
/src/Spring/Spring.Data.NHibernate20/Spring.Data.NHibernate20.xml
|
||||
/src/Spring/Spring.Data.NHibernate21/Spring.Data.NHibernate21.xml
|
||||
/src/Spring/Spring.Data.NHibernate30/Spring.Data.NHibernate30.xml
|
||||
/src/Spring/Spring.Data.NHibernate31/Spring.Data.NHibernate31.xml
|
||||
/src/Spring/Spring.Data.NHibernate32/Spring.Data.NHibernate32.xml
|
||||
/src/Spring/Spring.Data.NHibernate33/Spring.Data.NHibernate33.xml
|
||||
/src/Spring/Spring.Data.NHibernate3/Spring.Data.NHibernate3.xml
|
||||
/src/Spring/Spring.Data.NHibernate4/Spring.Data.NHibernate4.xml
|
||||
/src/Spring/Spring.Messaging.Ems/Spring.Messaging.Ems.xml
|
||||
/src/Spring/Spring.Messaging.Nms/Spring.Messaging.Nms.xml
|
||||
/src/Spring/Spring.Messaging/Spring.Messaging.xml
|
||||
/src/Spring/Spring.Data/Spring.Data.xml
|
||||
/src/Spring/Spring.Web/Spring.Web.xml
|
||||
/src/Spring/Spring.Web.Conversation.NHibernate32/Spring.Web.Conversation.NHibernate32.xml
|
||||
/src/Spring/Spring.Web.Conversation.NHibernate33/Spring.Web.Conversation.NHibernate33.xml
|
||||
/src/Spring/Spring.Web.Conversation.NHibernate3/Spring.Web.Conversation.NHibernate3.xml
|
||||
/src/Spring/Spring.Web.Conversation.NHibernate4/Spring.Web.Conversation.NHibernate4.xml
|
||||
/src/Spring/Spring.Web.Mvc/Spring.Web.Mvc.xml
|
||||
/src/Spring/Spring.Web.Mvc3/Spring.Web.Mvc3.xml
|
||||
/src/Spring/Spring.Web.Mvc4/Spring.Web.Mvc4.xml
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 2013
|
||||
VisualStudioVersion = 12.0.30110.0
|
||||
VisualStudioVersion = 12.0.30723.0
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{F04753EF-7A1B-4837-AB63-8C0821E8155D}"
|
||||
ProjectSection(SolutionItems) = preProject
|
||||
@@ -62,13 +62,9 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Spring.Testing.Microsoft.20
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Spring.Testing.Microsoft.Tests.2010", "test\Spring\Spring.Testing.Microsoft.Tests\Spring.Testing.Microsoft.Tests.2010.csproj", "{7321149A-47C6-4FBA-9D1A-26FD6815381B}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Spring.Data.NHibernate32.2010", "src\Spring\Spring.Data.NHibernate32\Spring.Data.NHibernate32.2010.csproj", "{9F0F739C-876E-4C4B-AA55-9AC9242C25C8}"
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Spring.Data.NHibernate3.2010", "src\Spring\Spring.Data.NHibernate3\Spring.Data.NHibernate3.2010.csproj", "{D546EFB7-9F6C-4C11-B2F8-B85FAD135399}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Spring.Data.NHibernate32.Tests.2010", "test\Spring\Spring.Data.NHibernate32.Tests\Spring.Data.NHibernate32.Tests.2010.csproj", "{C33C6A06-885D-49D2-8029-422D38CBC6D7}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Spring.Data.NHibernate33.2010", "src\Spring\Spring.Data.NHibernate33\Spring.Data.NHibernate33.2010.csproj", "{D546EFB7-9F6C-4C11-B2F8-B85FAD135399}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Spring.Data.NHibernate33.Tests.2010", "test\Spring\Spring.Data.NHibernate33.Tests\Spring.Data.NHibernate33.Tests.2010.csproj", "{9C86BC69-DD23-4DCC-B11F-8781BBC887CF}"
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Spring.Data.NHibernate3.Tests.2010", "test\Spring\Spring.Data.NHibernate3.Tests\Spring.Data.NHibernate3.Tests.2010.csproj", "{9C86BC69-DD23-4DCC-B11F-8781BBC887CF}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Spring.Messaging.Ems.2010", "src\Spring\Spring.Messaging.Ems\Spring.Messaging.Ems.2010.csproj", "{900E3839-301E-48B1-BAEB-B6645620ACFF}"
|
||||
EndProject
|
||||
@@ -82,21 +78,15 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Spring.Scheduling.Quartz2.T
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Spring.Messaging.Ems.Integration.Tests.2010", "test\Spring\Spring.Messaging.Ems.Integration.Tests\Spring.Messaging.Ems.Integration.Tests.2010.csproj", "{FA934E92-C8C2-428A-BE2A-26818F17A787}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Spring.Data.NHibernate32.Integration.Tests.2010", "test\Spring\Spring.Data.NHibernate32.Integration.Tests\Spring.Data.NHibernate32.Integration.Tests.2010.csproj", "{CD6A49DE-745C-4360-AADF-3539CFEC6639}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Spring.Data.NHibernate33.Integration.Tests.2010", "test\Spring\Spring.Data.NHibernate33.Integration.Tests\Spring.Data.NHibernate33.Integration.Tests.2010.csproj", "{6B7DA759-F46D-4860-AF03-E7AC7498E003}"
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Spring.Data.NHibernate3.Integration.Tests.2010", "test\Spring\Spring.Data.NHibernate3.Integration.Tests\Spring.Data.NHibernate3.Integration.Tests.2010.csproj", "{6B7DA759-F46D-4860-AF03-E7AC7498E003}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Spring.Messaging.Nms.Integration.Tests.2010", "test\Spring\Spring.Messaging.Nms.Integration.Tests\Spring.Messaging.Nms.Integration.Tests.2010.csproj", "{E5323AC8-137E-4EF7-BC62-3BD6FC0576CD}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Spring.Scheduling.Quartz2.Integration.Tests.2010", "test\Spring\Spring.Scheduling.Quartz2.Integration.Tests\Spring.Scheduling.Quartz2.Integration.Tests.2010.csproj", "{8CF0F34A-CC93-4D87-AE14-A2DEEF072F26}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Spring.Web.Conversation.NHibernate32.2010", "src\Spring\Spring.Web.Conversation.NHibernate32\Spring.Web.Conversation.NHibernate32.2010.csproj", "{64400FF8-2E9F-4809-B5F4-0C7EB8ABFF87}"
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Spring.Web.Conversation.NHibernate3.2010", "src\Spring\Spring.Web.Conversation.NHibernate3\Spring.Web.Conversation.NHibernate3.2010.csproj", "{CF375928-B6D5-485C-B04D-2BC41D9DBF1E}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Spring.Web.Conversation.NHibernate33.2010", "src\Spring\Spring.Web.Conversation.NHibernate33\Spring.Web.Conversation.NHibernate33.2010.csproj", "{CF375928-B6D5-485C-B04D-2BC41D9DBF1E}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Spring.Web.Conversation.NHibernate32.Tests.2010", "test\Spring\Spring.Web.Conversation.NHibernate32.Tests\Spring.Web.Conversation.NHibernate32.Tests.2010.csproj", "{2FB16852-22AD-4A5B-885A-97136265CC46}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Spring.Web.Conversation.NHibernate33.Tests.2010", "test\Spring\Spring.Web.Conversation.NHibernate33.Tests\Spring.Web.Conversation.NHibernate33.Tests.2010.csproj", "{C57B05EA-FD1A-40EC-BB60-D2E45AB1A86A}"
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Spring.Web.Conversation.NHibernate3.Tests.2010", "test\Spring\Spring.Web.Conversation.NHibernate3.Tests\Spring.Web.Conversation.NHibernate3.Tests.2010.csproj", "{C57B05EA-FD1A-40EC-BB60-D2E45AB1A86A}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".nuget", ".nuget", "{79F495DF-83D6-435E-A20E-47800F6F8FE7}"
|
||||
ProjectSection(SolutionItems) = preProject
|
||||
@@ -109,6 +99,12 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Spring.Web.Mvc5.2010", "src
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Spring.Web.Mvc5.Tests.2010", "test\Spring\Spring.Web.Mvc5.Tests\Spring.Web.Mvc5.Tests.2010.csproj", "{B9590252-6D58-4587-950C-475AB61FDBCF}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Spring.Data.NHibernate4.2010", "src\Spring\Spring.Data.NHibernate4\Spring.Data.NHibernate4.2010.csproj", "{D9C45177-0D80-4133-AB46-58F142DB92AA}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Spring.Data.NHibernate4.Tests.2010", "test\Spring\Spring.Data.NHibernate4.Tests\Spring.Data.NHibernate4.Tests.2010.csproj", "{86E9E4E0-792F-43F6-AAA0-599D3B1A0C4E}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Spring.Data.NHibernate4.Integration.Tests.2010", "test\Spring\Spring.Data.NHibernate4.Integration.Tests\Spring.Data.NHibernate4.Integration.Tests.2010.csproj", "{46F8B5E9-ABCF-4306-BC05-FF05B0FAC151}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|.NET = Debug|.NET
|
||||
@@ -579,6 +575,36 @@ Global
|
||||
{B9590252-6D58-4587-950C-475AB61FDBCF}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{B9590252-6D58-4587-950C-475AB61FDBCF}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
|
||||
{B9590252-6D58-4587-950C-475AB61FDBCF}.Release|Mixed Platforms.Build.0 = Release|Any CPU
|
||||
{D9C45177-0D80-4133-AB46-58F142DB92AA}.Debug|.NET.ActiveCfg = Debug|Any CPU
|
||||
{D9C45177-0D80-4133-AB46-58F142DB92AA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{D9C45177-0D80-4133-AB46-58F142DB92AA}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{D9C45177-0D80-4133-AB46-58F142DB92AA}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
|
||||
{D9C45177-0D80-4133-AB46-58F142DB92AA}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
|
||||
{D9C45177-0D80-4133-AB46-58F142DB92AA}.Release|.NET.ActiveCfg = Release|Any CPU
|
||||
{D9C45177-0D80-4133-AB46-58F142DB92AA}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{D9C45177-0D80-4133-AB46-58F142DB92AA}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{D9C45177-0D80-4133-AB46-58F142DB92AA}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
|
||||
{D9C45177-0D80-4133-AB46-58F142DB92AA}.Release|Mixed Platforms.Build.0 = Release|Any CPU
|
||||
{86E9E4E0-792F-43F6-AAA0-599D3B1A0C4E}.Debug|.NET.ActiveCfg = Debug|Any CPU
|
||||
{86E9E4E0-792F-43F6-AAA0-599D3B1A0C4E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{86E9E4E0-792F-43F6-AAA0-599D3B1A0C4E}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{86E9E4E0-792F-43F6-AAA0-599D3B1A0C4E}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
|
||||
{86E9E4E0-792F-43F6-AAA0-599D3B1A0C4E}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
|
||||
{86E9E4E0-792F-43F6-AAA0-599D3B1A0C4E}.Release|.NET.ActiveCfg = Release|Any CPU
|
||||
{86E9E4E0-792F-43F6-AAA0-599D3B1A0C4E}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{86E9E4E0-792F-43F6-AAA0-599D3B1A0C4E}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{86E9E4E0-792F-43F6-AAA0-599D3B1A0C4E}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
|
||||
{86E9E4E0-792F-43F6-AAA0-599D3B1A0C4E}.Release|Mixed Platforms.Build.0 = Release|Any CPU
|
||||
{46F8B5E9-ABCF-4306-BC05-FF05B0FAC151}.Debug|.NET.ActiveCfg = Debug|Any CPU
|
||||
{46F8B5E9-ABCF-4306-BC05-FF05B0FAC151}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{46F8B5E9-ABCF-4306-BC05-FF05B0FAC151}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{46F8B5E9-ABCF-4306-BC05-FF05B0FAC151}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
|
||||
{46F8B5E9-ABCF-4306-BC05-FF05B0FAC151}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
|
||||
{46F8B5E9-ABCF-4306-BC05-FF05B0FAC151}.Release|.NET.ActiveCfg = Release|Any CPU
|
||||
{46F8B5E9-ABCF-4306-BC05-FF05B0FAC151}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{46F8B5E9-ABCF-4306-BC05-FF05B0FAC151}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{46F8B5E9-ABCF-4306-BC05-FF05B0FAC151}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
|
||||
{46F8B5E9-ABCF-4306-BC05-FF05B0FAC151}.Release|Mixed Platforms.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
|
||||
126
Spring.build
126
Spring.build
@@ -469,10 +469,10 @@ Commandline Examples:
|
||||
|
||||
<target name="compile-test"> <!-- used as configurable template by all compile-{net|mono|netcf}-x.x targets -->
|
||||
<property name="lib.dir" value="${spring.basedir}/lib/${framework::get-family(framework::get-target-framework())}/${framework::get-version(framework::get-target-framework())}"/>
|
||||
<property name="nh32.lib.dir" value="${spring.basedir}/packages/NHibernate.3.2.0.4000/lib/Net35"/>
|
||||
<property name="iesi32.lib.dir" value="${spring.basedir}/packages/Iesi.Collections.3.2.0.4000/lib/Net35"/>
|
||||
<property name="nh33.lib.dir" value="${spring.basedir}/packages/NHibernate.3.3.3.4001/lib/Net35"/>
|
||||
<property name="iesi33.lib.dir" value="${spring.basedir}/packages/Iesi.Collections.3.3.3.4001/lib/Net35"/>
|
||||
<property name="nh3.lib.dir" value="${spring.basedir}/packages/NHibernate.3.3.3.4001/lib/Net35"/>
|
||||
<property name="iesi3.lib.dir" value="${spring.basedir}/packages/Iesi.Collections.3.3.3.4001/lib/Net35"/>
|
||||
<property name="nh4.lib.dir" value="${spring.basedir}/packages/NHibernate.4.0.0.4000/lib/Net40"/>
|
||||
<property name="iesi4.lib.dir" value="${spring.basedir}/packages/Iesi.Collections.4.0.0.4000/lib/Net40"/>
|
||||
<property name="quartz2.lib.dir" value="${spring.basedir}/packages/Quartz.2.2.3/lib/net35"/>
|
||||
<property name="nunit.lib.dir" value="${spring.basedir}/packages/NUnit.2.6.3/lib"/>
|
||||
|
||||
@@ -495,8 +495,8 @@ Commandline Examples:
|
||||
<nant buildfile="src/Spring/Spring.Web.Mvc5/Spring.Web.Mvc5.build" target="build" if="${nant.settings.currentframework == 'net-4.5'}"/>
|
||||
<nant buildfile="src/Spring/Spring.Data/Spring.Data.build" target="build" if="${build-data}"/>
|
||||
|
||||
<nant buildfile="src/Spring/Spring.Data.NHibernate32/Spring.Data.NHibernate32.build" target="build" if="${build-data}"/>
|
||||
<nant buildfile="src/Spring/Spring.Data.NHibernate33/Spring.Data.NHibernate33.build" target="build" if="${build-data}"/>
|
||||
<nant buildfile="src/Spring/Spring.Data.NHibernate3/Spring.Data.NHibernate3.build" target="build" if="${build-data}"/>
|
||||
<nant buildfile="src/Spring/Spring.Data.NHibernate4/Spring.Data.NHibernate4.build" target="build" if="${build-data and (nant.settings.currentframework == 'net-4.0' or nant.settings.currentframework == 'net-4.5')}"/>
|
||||
|
||||
<nant buildfile="src/Spring/Spring.Services/Spring.Services.build" target="build" if="${build-services}"/>
|
||||
<nant buildfile="src/Spring/Spring.Testing.NUnit/Spring.Testing.NUnit.build" target="build" if="${build-testing-nunit}"/>
|
||||
@@ -507,9 +507,8 @@ Commandline Examples:
|
||||
<nant buildfile="src/Spring/Spring.Messaging/Spring.Messaging.build" target="build" if="${build-msmq}"/>
|
||||
<nant buildfile="src/Spring/Spring.Template.Velocity/Spring.Template.Velocity.build" target="build" if="${build-velocity}"/>
|
||||
<!--"Spring.ConversationWA.NH*.dll" should be at last to prevent the other assemblies are compiled with reference to this-->
|
||||
<nant buildfile="src/Spring/Spring.Web.Conversation.NHibernate32/Spring.Web.Conversation.NHibernate32.build" target="build" if="${build-conversation}"/>
|
||||
<nant buildfile="src/Spring/Spring.Web.Conversation.NHibernate33/Spring.Web.Conversation.NHibernate33.build" target="build" if="${build-conversation}"/>
|
||||
|
||||
<nant buildfile="src/Spring/Spring.Web.Conversation.NHibernate3/Spring.Web.Conversation.NHibernate3.build" target="build" if="${build-conversation}"/>
|
||||
|
||||
<!-- test assemblies -->
|
||||
|
||||
<nant buildfile="test/Spring/Spring.Core.Tests/Spring.Core.Tests.build" target="test"/>
|
||||
@@ -517,10 +516,10 @@ Commandline Examples:
|
||||
<nant buildfile="test/Spring/Spring.Data.Tests/Spring.Data.Tests.build" target="test" if="${build-data}"/>
|
||||
<nant buildfile="test/Spring/Spring.Data.Integration.Tests/Spring.Data.Integration.Tests.build" target="test" if="${build-data}"/>
|
||||
|
||||
<nant buildfile="test/Spring/Spring.Data.NHibernate32.Tests/Spring.Data.NHibernate32.Tests.build" target="test" if="${build-data}"/>
|
||||
<nant buildfile="test/Spring/Spring.Data.NHibernate32.Integration.Tests/Spring.Data.NHibernate32.Integration.Tests.build" target="test" if="${build-data}"/>
|
||||
<nant buildfile="test/Spring/Spring.Data.NHibernate33.Tests/Spring.Data.NHibernate33.Tests.build" target="test" if="${build-data}"/>
|
||||
<nant buildfile="test/Spring/Spring.Data.NHibernate33.Integration.Tests/Spring.Data.NHibernate33.Integration.Tests.build" target="test" if="${build-data}"/>
|
||||
<nant buildfile="test/Spring/Spring.Data.NHibernate3.Tests/Spring.Data.NHibernate3.Tests.build" target="test" if="${build-data}"/>
|
||||
<nant buildfile="test/Spring/Spring.Data.NHibernate3.Integration.Tests/Spring.Data.NHibernate3.Integration.Tests.build" target="test" if="${build-data}"/>
|
||||
<nant buildfile="test/Spring/Spring.Data.NHibernate4.Tests/Spring.Data.NHibernate4.Tests.build" target="test" if="${build-data}"/>
|
||||
<nant buildfile="test/Spring/Spring.Data.NHibernate4.Integration.Tests/Spring.Data.NHibernate4.Integration.Tests.build" target="test" if="${build-data}"/>
|
||||
|
||||
<nant buildfile="test/Spring/Spring.Services.Tests/Spring.Services.Tests.build" target="test" if="${build-services}"/>
|
||||
<nant buildfile="test/Spring/Spring.Web.Tests/Spring.Web.Tests.build" target="test" if="${build-web}"/>
|
||||
@@ -540,8 +539,7 @@ Commandline Examples:
|
||||
|
||||
<!-- conversation tests disabled for now because with .NET 4.5 installed NUnitAsp does not seem to work anymore -->
|
||||
<if test="${nant.settings.currentframework == 'net-3.5'}">
|
||||
<nant buildfile="test/Spring/Spring.Web.Conversation.NHibernate32.Tests/Spring.Web.Conversation.NHibernate32.Tests.build" target="test" if="${build-conversation}"/>
|
||||
<nant buildfile="test/Spring/Spring.Web.Conversation.NHibernate33.Tests/Spring.Web.Conversation.NHibernate33.Tests.build" target="test" if="${build-conversation}"/>
|
||||
<nant buildfile="test/Spring/Spring.Web.Conversation.NHibernate3.Tests/Spring.Web.Conversation.NHibernate3.Tests.build" target="test" if="${build-conversation}"/>
|
||||
</if>
|
||||
|
||||
<!-- Main solutions and examples are compiled via task build-solutions -->
|
||||
@@ -824,10 +822,10 @@ Commandline Examples:
|
||||
<delete dir="src/Spring/Spring.Core/bin" failonerror="false"/>
|
||||
<delete dir="src/Spring/Spring.Data/obj" failonerror="false"/>
|
||||
<delete dir="src/Spring/Spring.Data/bin" failonerror="false"/>
|
||||
<delete dir="src/Spring/Spring.Data.NHibernate32/obj" failonerror="false"/>
|
||||
<delete dir="src/Spring/Spring.Data.NHibernate32/bin" failonerror="false"/>
|
||||
<delete dir="src/Spring/Spring.Data.NHibernate33/obj" failonerror="false"/>
|
||||
<delete dir="src/Spring/Spring.Data.NHibernate33/bin" failonerror="false"/>
|
||||
<delete dir="src/Spring/Spring.Data.NHibernate3/obj" failonerror="false"/>
|
||||
<delete dir="src/Spring/Spring.Data.NHibernate3/bin" failonerror="false"/>
|
||||
<delete dir="src/Spring/Spring.Data.NHibernate4/obj" failonerror="false"/>
|
||||
<delete dir="src/Spring/Spring.Data.NHibernate4/bin" failonerror="false"/>
|
||||
<delete dir="src/Spring/Spring.Services/obj" failonerror="false"/>
|
||||
<delete dir="src/Spring/Spring.Services/bin" failonerror="false"/>
|
||||
<delete dir="src/Spring/Spring.Messaging.Nms/obj" failonerror="false"/>
|
||||
@@ -845,8 +843,10 @@ Commandline Examples:
|
||||
<delete dir="src/Spring/Spring.Testing.Microsoft/obj" failonerror="false"/>
|
||||
<delete dir="src/Spring/Spring.Testing.Microsoft/bin" failonerror="false"/>
|
||||
<delete dir="src/Spring/Spring.Web/obj" failonerror="false"/>
|
||||
<delete dir="src/Spring/Spring.Web.Conversation.NHibernate32/obj" failonerror="false"/>
|
||||
<delete dir="src/Spring/Spring.Web.Conversation.NHibernate32/bin" failonerror="false"/>
|
||||
<delete dir="src/Spring/Spring.Web.Conversation.NHibernate3/obj" failonerror="false"/>
|
||||
<delete dir="src/Spring/Spring.Web.Conversation.NHibernate3/bin" failonerror="false"/>
|
||||
<delete dir="src/Spring/Spring.Web.Conversation.NHibernate4/obj" failonerror="false"/>
|
||||
<delete dir="src/Spring/Spring.Web.Conversation.NHibernate4/bin" failonerror="false"/>
|
||||
<delete dir="src/Spring/Spring.Web/bin" failonerror="false"/>
|
||||
<delete dir="src/Spring/Spring.Web.Extensions/obj" failonerror="false"/>
|
||||
<delete dir="src/Spring/Spring.Web.Extensions/bin" failonerror="false"/>
|
||||
@@ -856,10 +856,6 @@ Commandline Examples:
|
||||
<delete dir="src/Spring/Spring.Web.Mvc4/bin" failonerror="false"/>
|
||||
<delete dir="src/Spring/Spring.Web.Mvc5/obj" failonerror="false"/>
|
||||
<delete dir="src/Spring/Spring.Web.Mvc5/bin" failonerror="false"/>
|
||||
<delete dir="src/Spring/Spring.Web.Conversation.NHibernate32/obj" failonerror="false"/>
|
||||
<delete dir="src/Spring/Spring.Web.Conversation.NHibernate32/bin" failonerror="false"/>
|
||||
<delete dir="src/Spring/Spring.Web.Conversation.NHibernate33/obj" failonerror="false"/>
|
||||
<delete dir="src/Spring/Spring.Web.Conversation.NHibernate33/bin" failonerror="false"/>
|
||||
|
||||
<delete dir="test/Spring/Spring.Messaging.Ems.Integration.Tests/obj" failonerror="false"/>
|
||||
<delete dir="test/Spring/Spring.Messaging.Ems.Integration.Tests/bin" failonerror="false"/>
|
||||
@@ -880,14 +876,14 @@ Commandline Examples:
|
||||
<delete dir="test/Spring/Spring.Data.Tests/bin" failonerror="false"/>
|
||||
<delete dir="test/Spring/Spring.Data.Integration.Tests/obj" failonerror="false"/>
|
||||
<delete dir="test/Spring/Spring.Data.Integration.Tests/bin" failonerror="false"/>
|
||||
<delete dir="test/Spring/Spring.Data.NHibernate32.Tests/obj" failonerror="false"/>
|
||||
<delete dir="test/Spring/Spring.Data.NHibernate32.Tests/bin" failonerror="false"/>
|
||||
<delete dir="test/Spring/Spring.Data.NHibernate32.Integration.Tests/obj" failonerror="false"/>
|
||||
<delete dir="test/Spring/Spring.Data.NHibernate32.Integration.Tests/bin" failonerror="false"/>
|
||||
<delete dir="test/Spring/Spring.Data.NHibernate33.Tests/obj" failonerror="false"/>
|
||||
<delete dir="test/Spring/Spring.Data.NHibernate33.Tests/bin" failonerror="false"/>
|
||||
<delete dir="test/Spring/Spring.Data.NHibernate33.Integration.Tests/obj" failonerror="false"/>
|
||||
<delete dir="test/Spring/Spring.Data.NHibernate33.Integration.Tests/bin" failonerror="false"/>
|
||||
<delete dir="test/Spring/Spring.Data.NHibernate3.Tests/obj" failonerror="false"/>
|
||||
<delete dir="test/Spring/Spring.Data.NHibernate3.Tests/bin" failonerror="false"/>
|
||||
<delete dir="test/Spring/Spring.Data.NHibernate3.Integration.Tests/obj" failonerror="false"/>
|
||||
<delete dir="test/Spring/Spring.Data.NHibernate3.Integration.Tests/bin" failonerror="false"/>
|
||||
<delete dir="test/Spring/Spring.Data.NHibernate4.Tests/obj" failonerror="false"/>
|
||||
<delete dir="test/Spring/Spring.Data.NHibernate4.Tests/bin" failonerror="false"/>
|
||||
<delete dir="test/Spring/Spring.Data.NHibernate4.Integration.Tests/obj" failonerror="false"/>
|
||||
<delete dir="test/Spring/Spring.Data.NHibernate4.Integration.Tests/bin" failonerror="false"/>
|
||||
<delete dir="test/Spring/Spring.Services.Tests/obj" failonerror="false"/>
|
||||
<delete dir="test/Spring/Spring.Services.Tests/bin" failonerror="false"/>
|
||||
<delete dir="test/Spring/Spring.Messaging.Nms.Tests/obj" failonerror="false"/>
|
||||
@@ -910,14 +906,12 @@ Commandline Examples:
|
||||
<delete dir="test/Spring/Spring.Testing.NUnit.Tests/bin" failonerror="false"/>
|
||||
|
||||
<delete failonerror="false">
|
||||
<fileset basedir="test/Spring/Spring.Web.Conversation.NHibernate32.Tests/Data/Spring/ConversationWA/WebConversationStateTest/Bin">
|
||||
<fileset basedir="test/Spring/Spring.Web.Conversation.NHibernate3.Tests/Data/Spring/ConversationWA/WebConversationStateTest/Bin">
|
||||
<include name="*.dll"/>
|
||||
<include name="*.xml"/>
|
||||
<include name="*.pdb"/>
|
||||
</fileset>
|
||||
</delete>
|
||||
<delete failonerror="false">
|
||||
<fileset basedir="test/Spring/Spring.Web.Conversation.NHibernate33.Tests/Data/Spring/ConversationWA/WebConversationStateTest/Bin">
|
||||
<fileset basedir="test/Spring/Spring.Web.Conversation.NHibernate4.Tests/Data/Spring/ConversationWA/WebConversationStateTest/Bin">
|
||||
<include name="*.dll"/>
|
||||
<include name="*.xml"/>
|
||||
<include name="*.pdb"/>
|
||||
@@ -941,10 +935,10 @@ Commandline Examples:
|
||||
<delete dir="test/Spring/Spring.Web.Mvc5.Tests/obj" failonerror="false"/>
|
||||
<delete dir="test/Spring/Spring.Web.Mvc5.Tests/bin" failonerror="false"/>
|
||||
|
||||
<delete dir="test/Spring/Spring.Web.Conversation.NHibernate32.Tests/obj" failonerror="false"/>
|
||||
<delete dir="test/Spring/Spring.Web.Conversation.NHibernate32.Tests/bin" failonerror="false"/>
|
||||
<delete dir="test/Spring/Spring.Web.Conversation.NHibernate33.Tests/obj" failonerror="false"/>
|
||||
<delete dir="test/Spring/Spring.Web.Conversation.NHibernate33.Tests/bin" failonerror="false"/>
|
||||
<delete dir="test/Spring/Spring.Web.Conversation.NHibernate3.Tests/obj" failonerror="false"/>
|
||||
<delete dir="test/Spring/Spring.Web.Conversation.NHibernate3.Tests/bin" failonerror="false"/>
|
||||
<delete dir="test/Spring/Spring.Web.Conversation.NHibernate4.Tests/obj" failonerror="false"/>
|
||||
<delete dir="test/Spring/Spring.Web.Conversation.NHibernate4.Tests/bin" failonerror="false"/>
|
||||
|
||||
<delete dir="examples/Spring/Spring.CachingQuickStart/src/Spring.CachingQuickStart.Web/bin" failonerror="false"/>
|
||||
<delete dir="examples/Spring/Spring.CachingQuickStart/src/Spring.CachingQuickStart.Web/obj" failonerror="false"/>
|
||||
@@ -1378,10 +1372,10 @@ Commandline Examples:
|
||||
</copy>
|
||||
</if>
|
||||
|
||||
<mkdir dir="${current.package.dir}/lib/NHibernate32"/>
|
||||
<mkdir dir="${current.package.dir}/lib/NHibernate3"/>
|
||||
<if test="${property::exists('build.allnamespaces') and not build.allnamespaces}">
|
||||
<copy todir="${current.package.dir}/lib/NHibernate32" verbose="${copy-verbose}">
|
||||
<fileset basedir="lib/NHibernate32">
|
||||
<copy todir="${current.package.dir}/lib/NHibernate3" verbose="${copy-verbose}">
|
||||
<fileset basedir="lib/NHibernate3">
|
||||
<include name="**/*.dll"/>
|
||||
<include name="**/*.xml"/>
|
||||
<include name="**/*.license.txt"/>
|
||||
@@ -1390,10 +1384,10 @@ Commandline Examples:
|
||||
</copy>
|
||||
</if>
|
||||
|
||||
<mkdir dir="${current.package.dir}/lib/NHibernate33"/>
|
||||
<mkdir dir="${current.package.dir}/lib/NHibernate4"/>
|
||||
<if test="${property::exists('build.allnamespaces') and not build.allnamespaces}">
|
||||
<copy todir="${current.package.dir}/lib/NHibernate33" verbose="${copy-verbose}">
|
||||
<fileset basedir="lib/NHibernate33">
|
||||
<copy todir="${current.package.dir}/lib/NHibernate4" verbose="${copy-verbose}">
|
||||
<fileset basedir="lib/NHibernate4">
|
||||
<include name="**/*.dll"/>
|
||||
<include name="**/*.xml"/>
|
||||
<include name="**/*.license.txt"/>
|
||||
@@ -1590,13 +1584,13 @@ Commandline Examples:
|
||||
<include name="*/*/Spring.Template.Velocity.xml"/>
|
||||
<include name="*/*/Spring.Template.Velocity.pdb"/>
|
||||
|
||||
<include name="*/*/Spring.Web.Conversation.NHibernate32.dll"/>
|
||||
<include name="*/*/Spring.Web.Conversation.NHibernate32.xml"/>
|
||||
<include name="*/*/Spring.Web.Conversation.NHibernate32.pdb"/>
|
||||
|
||||
<include name="*/*/Spring.Web.Conversation.NHibernate33.dll"/>
|
||||
<include name="*/*/Spring.Web.Conversation.NHibernate33.xml"/>
|
||||
<include name="*/*/Spring.Web.Conversation.NHibernate33.pdb"/>
|
||||
<include name="*/*/Spring.Web.Conversation.NHibernate3.dll"/>
|
||||
<include name="*/*/Spring.Web.Conversation.NHibernate3.xml"/>
|
||||
<include name="*/*/Spring.Web.Conversation.NHibernate3.pdb"/>
|
||||
|
||||
<include name="*/*/Spring.Web.Conversation.NHibernate4.dll"/>
|
||||
<include name="*/*/Spring.Web.Conversation.NHibernate4.xml"/>
|
||||
<include name="*/*/Spring.Web.Conversation.NHibernate4.pdb"/>
|
||||
|
||||
</fileset>
|
||||
</copy>
|
||||
@@ -1814,8 +1808,8 @@ Commandline Examples:
|
||||
<include name="src/Spring/Spring.Web.Extensions/**"/>
|
||||
<include name="src/Spring/Spring.Services/**"/>
|
||||
<include name="src/Spring/Spring.Data/**"/>
|
||||
<include name="src/Spring/Spring.Data.NHibernate32/**"/>
|
||||
<include name="src/Spring/Spring.Data.NHibernate33/**"/>
|
||||
<include name="src/Spring/Spring.Data.NHibernate3/**"/>
|
||||
<include name="src/Spring/Spring.Data.NHibernate4/**"/>
|
||||
<include name="src/Spring/Spring.Messaging/**"/>
|
||||
<include name="src/Spring/Spring.Messaging.Nms/**"/>
|
||||
<include name="src/Spring/Spring.Messaging.Ems/**"/>
|
||||
@@ -1824,9 +1818,9 @@ Commandline Examples:
|
||||
<include name="src/Spring/Spring.Testing.NUnit/**"/>
|
||||
<include name="src/Spring/Spring.Testing.Microsoft/**"/>
|
||||
<include name="src/Spring/CommonAssemblyInfo.cs"/>
|
||||
<include name="src/Spring/Spring.Web.Conversation.NHibernate32/**"/>
|
||||
<include name="src/Spring/Spring.Web.Conversation.NHibernate33/**"/>
|
||||
|
||||
<include name="src/Spring/Spring.Web.Conversation.NHibernate3/**"/>
|
||||
<include name="src/Spring/Spring.Web.Conversation.NHibernate4/**"/>
|
||||
|
||||
<include name="test/Spring/Spring.Core.Tests/**"/>
|
||||
<include name="test/Spring/Spring.Aop.Tests/**"/>
|
||||
<include name="test/Spring/Spring.Web.Tests/**"/>
|
||||
@@ -1836,10 +1830,10 @@ Commandline Examples:
|
||||
<include name="test/Spring/Spring.Services.Tests/**"/>
|
||||
<include name="test/Spring/Spring.Data.Tests/**"/>
|
||||
<include name="test/Spring/Spring.Data.Integration.Tests/**"/>
|
||||
<include name="test/Spring/Spring.Data.NHibernate32.Tests/**"/>
|
||||
<include name="test/Spring/Spring.Data.NHibernate32.Integration.Tests/**"/>
|
||||
<include name="test/Spring/Spring.Data.NHibernate33.Tests/**"/>
|
||||
<include name="test/Spring/Spring.Data.NHibernate33.Integration.Tests/**"/>
|
||||
<include name="test/Spring/Spring.Data.NHibernate3.Tests/**"/>
|
||||
<include name="test/Spring/Spring.Data.NHibernate3.Integration.Tests/**"/>
|
||||
<include name="test/Spring/Spring.Data.NHibernate4.Tests/**"/>
|
||||
<include name="test/Spring/Spring.Data.NHibernate4.Integration.Tests/**"/>
|
||||
<include name="test/Spring/Spring.Messaging.Tests/**"/>
|
||||
<include name="test/Spring/Spring.Messaging.Nms.Tests/**"/>
|
||||
<include name="test/Spring/Spring.Messaging.Nms.Integration.Tests/**"/>
|
||||
@@ -1849,9 +1843,9 @@ Commandline Examples:
|
||||
<include name="test/Spring/Spring.Testing.NUnit.Tests/**"/>
|
||||
<include name="test/Spring/Spring.Testing.Microsoft.Tests/**"/>
|
||||
<include name="test/Spring/CommonAssemblyInfo.cs"/>
|
||||
<include name="test/Spring/Spring.Web.Conversation.NHibernate32.Tests/**"/>
|
||||
<include name="test/Spring/Spring.Web.Conversation.NHibernate33.Tests/**"/>
|
||||
|
||||
<include name="test/Spring/Spring.Web.Conversation.NHibernate3.Tests/**"/>
|
||||
<include name="test/Spring/Spring.Web.Conversation.NHibernate4.Tests/**"/>
|
||||
|
||||
<include name="examples/Spring/Spring.Examples.build"/>
|
||||
<include name="examples/Spring/Spring.AopQuickStart/**"/>
|
||||
<include name="examples/Spring/Spring.DataQuickStart/**"/>
|
||||
|
||||
@@ -577,7 +577,7 @@
|
||||
</strict>
|
||||
</modes>
|
||||
</runtime>
|
||||
<reference-assemblies basedir="${environment::get-folder-path('ProgramFiles')}/Reference Assemblies/Microsoft/Framework/.NETFramework/v4.0">
|
||||
<reference-assemblies basedir="${environment::get-folder-path('ProgramFilesx86')}/Reference Assemblies/Microsoft/Framework/.NETFramework/v4.0">
|
||||
<include name="Accessibility.dll" />
|
||||
<include name="Microsoft.Build.Conversion.v4.0.dll" />
|
||||
<include name="Microsoft.Build.dll" />
|
||||
@@ -683,7 +683,7 @@
|
||||
<include name="System.Xml.Linq.dll" />
|
||||
</reference-assemblies>
|
||||
<!-- WPF Assemblies -->
|
||||
<reference-assemblies basedir="${environment::get-folder-path('ProgramFiles')}/Reference Assemblies/Microsoft/Framework/.NETFramework/v4.0">
|
||||
<reference-assemblies basedir="${environment::get-folder-path('ProgramFilesx86')}/Reference Assemblies/Microsoft/Framework/.NETFramework/v4.0">
|
||||
<include name="NaturalLanguage6.dll" />
|
||||
<include name="NlsData0009.dll" />
|
||||
<include name="NlsLexicons0009.dll" />
|
||||
@@ -711,7 +711,7 @@
|
||||
<include name="wpfgfx_v0400.dll" />
|
||||
<include name="wpftxt_v0400.dll" />
|
||||
</reference-assemblies>
|
||||
<reference-assemblies basedir="${environment::get-folder-path('ProgramFiles')}/Reference Assemblies/Microsoft/Framework/.NETFramework/v4.0">
|
||||
<reference-assemblies basedir="${environment::get-folder-path('ProgramFilesx86')}/Reference Assemblies/Microsoft/Framework/.NETFramework/v4.0">
|
||||
<include name="Microsoft.Build.Conversion.v4.0.dll" />
|
||||
<include name="Microsoft.Build.dll" />
|
||||
<include name="Microsoft.Build.Engine.dll" />
|
||||
@@ -1045,7 +1045,7 @@
|
||||
<include name="wpfgfx_v0400.dll" />
|
||||
<include name="wpftxt_v0400.dll" />
|
||||
</reference-assemblies>
|
||||
<reference-assemblies basedir="${environment::get-folder-path('ProgramFiles')}/Reference Assemblies/Microsoft/Framework/.NETFramework/v4.5">
|
||||
<reference-assemblies basedir="${environment::get-folder-path('ProgramFilesx86')}/Reference Assemblies/Microsoft/Framework/.NETFramework/v4.5">
|
||||
<include name="Microsoft.Build.Conversion.v4.0.dll" />
|
||||
<include name="Microsoft.Build.dll" />
|
||||
<include name="Microsoft.Build.Engine.dll" />
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
|
||||
<!-- Transaction Management Strategy - local database transactions -->
|
||||
<object id="transactionManager"
|
||||
type="Spring.Data.NHibernate.HibernateTransactionManager, Spring.Data.NHibernate32">
|
||||
type="Spring.Data.NHibernate.HibernateTransactionManager, Spring.Data.NHibernate3">
|
||||
|
||||
<property name="DbProvider" ref="DbProvider"/>
|
||||
<property name="SessionFactory" ref="NHibernateSessionFactory"/>
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
|
||||
<!-- Transaction Management Strategy - local database transactions -->
|
||||
<object id="transactionManager"
|
||||
type="Spring.Data.NHibernate.HibernateTransactionManager, Spring.Data.NHibernate32">
|
||||
type="Spring.Data.NHibernate.HibernateTransactionManager, Spring.Data.NHibernate3">
|
||||
|
||||
<property name="DbProvider" ref="DbProvider"/>
|
||||
<property name="SessionFactory" ref="NHibernateSessionFactory"/>
|
||||
|
||||
@@ -62,7 +62,7 @@
|
||||
<HintPath>..\..\packages\Iesi.Collections.3.2.0.4000\lib\Net35\Iesi.Collections.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="NHibernate">
|
||||
<HintPath>..\..\packages\NHibernate.3.2.0.4000\lib\Net35\NHibernate.dll</HintPath>
|
||||
<HintPath>..\..\packages\NHibernate.3.3.3.4001\lib\Net35\NHibernate.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Spring.Core">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
@@ -72,9 +72,9 @@
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\..\..\..\bin\net\4.0\debug\Spring.Data.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Spring.Data.NHibernate32">
|
||||
<Reference Include="Spring.Data.NHibernate3">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\..\..\..\bin\net\4.0\debug\Spring.Data.NHibernate32.dll</HintPath>
|
||||
<HintPath>..\..\..\..\..\bin\net\4.0\debug\Spring.Data.NHibernate3.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
@@ -102,7 +102,9 @@
|
||||
<EmbeddedResource Include="Mappings\OrderDetail.hbm.xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="Dao\Dao.xml" />
|
||||
<EmbeddedResource Include="Dao\Dao.xml">
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
|
||||
@@ -128,9 +130,12 @@
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="Dao\DaoConversation.xml" />
|
||||
<EmbeddedResource Include="Dao\DaoConversation.xml">
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="app.config" />
|
||||
<None Include="packages.config" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<runtime>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="NHibernate" publicKeyToken="aa95f207798dfdb4" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-3.2.0.4000" newVersion="3.2.0.4000" />
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
</runtime>
|
||||
</configuration>
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="Iesi.Collections" version="3.2.0.4000" targetFramework="net40" />
|
||||
<package id="NHibernate" version="3.2.0.4000" targetFramework="net40" />
|
||||
<package id="NHibernate" version="3.3.3.4001" targetFramework="net40" />
|
||||
</packages>
|
||||
@@ -100,6 +100,9 @@
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="app.config" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<runtime>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="NHibernate" publicKeyToken="aa95f207798dfdb4" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-3.2.0.4000" newVersion="3.2.0.4000" />
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
</runtime>
|
||||
</configuration>
|
||||
@@ -59,14 +59,15 @@
|
||||
<HintPath>..\..\..\..\..\lib\Net\2.0\log4net.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="NHibernate">
|
||||
<HintPath>..\..\packages\NHibernate.3.2.0.4000\lib\Net35\NHibernate.dll</HintPath>
|
||||
<HintPath>..\..\packages\NHibernate.3.3.3.4001\lib\Net35\NHibernate.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="Spring.Aop, Version=0.0.0.35000, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\..\..\..\bin\net\4.0\debug\Spring.Aop.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Spring.Web.Conversation.NHibernate32">
|
||||
<HintPath>..\..\..\..\..\bin\net\4.0\debug\Spring.Web.Conversation.NHibernate32.dll</HintPath>
|
||||
<Reference Include="Spring.Web.Conversation.NHibernate3">
|
||||
<HintPath>..\..\..\..\..\bin\net\4.0\debug\Spring.Web.Conversation.NHibernate3.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Spring.Core, Version=0.0.0.35000, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
@@ -76,9 +77,9 @@
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\..\..\..\bin\net\4.0\debug\Spring.Data.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Spring.Data.NHibernate32, Version=0.0.0.35000, Culture=neutral, processorArchitecture=MSIL">
|
||||
<Reference Include="Spring.Data.NHibernate3, Version=0.0.0.35000, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\..\..\..\bin\net\4.0\debug\Spring.Data.NHibernate32.dll</HintPath>
|
||||
<HintPath>..\..\..\..\..\bin\net\4.0\debug\Spring.Data.NHibernate3.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Spring.Web, Version=0.0.0.35000, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="Iesi.Collections" version="3.2.0.4000" targetFramework="net40" />
|
||||
<package id="NHibernate" version="3.2.0.4000" targetFramework="net40" />
|
||||
<package id="NHibernate" version="3.3.3.4001" targetFramework="net40" />
|
||||
</packages>
|
||||
@@ -58,8 +58,9 @@
|
||||
<Reference Include="log4net">
|
||||
<HintPath>..\..\..\..\..\lib\Net\2.0\log4net.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="NHibernate">
|
||||
<HintPath>..\..\packages\NHibernate.3.2.0.4000\lib\Net35\NHibernate.dll</HintPath>
|
||||
<Reference Include="NHibernate, Version=3.3.1.4000, Culture=neutral, PublicKeyToken=aa95f207798dfdb4, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\packages\NHibernate.3.3.3.4001\lib\Net35\NHibernate.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Spring.Aop, Version=0.0.0.35000, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
@@ -73,9 +74,9 @@
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\..\..\..\bin\net\4.0\debug\Spring.Data.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Spring.Data.NHibernate32, Version=0.0.0.35000, Culture=neutral, processorArchitecture=MSIL">
|
||||
<Reference Include="Spring.Data.NHibernate3, Version=0.0.0.35000, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\..\..\..\bin\net\4.0\debug\Spring.Data.NHibernate32.dll</HintPath>
|
||||
<HintPath>..\..\..\..\..\bin\net\4.0\debug\Spring.Data.NHibernate3.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Spring.Web, Version=0.0.0.35000, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<?xml version="1.0"?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Note: As an alternative to hand editing this file you can use the
|
||||
web admin tool to configure settings for your application. Use
|
||||
@@ -10,13 +10,13 @@
|
||||
<configuration>
|
||||
<configSections>
|
||||
<sectionGroup name="common">
|
||||
<section name="logging" type="Common.Logging.ConfigurationSectionHandler, Common.Logging"/>
|
||||
<section name="logging" type="Common.Logging.ConfigurationSectionHandler, Common.Logging" />
|
||||
</sectionGroup>
|
||||
<sectionGroup name="spring">
|
||||
<section name="context" type="Spring.Context.Support.WebContextHandler, Spring.Web"/>
|
||||
<section name="parsers" type="Spring.Context.Support.NamespaceParsersSectionHandler, Spring.Core"/>
|
||||
<section name="context" type="Spring.Context.Support.WebContextHandler, Spring.Web" />
|
||||
<section name="parsers" type="Spring.Context.Support.NamespaceParsersSectionHandler, Spring.Core" />
|
||||
</sectionGroup>
|
||||
<section name="databaseSettings" type="System.Configuration.NameValueSectionHandler"/>
|
||||
<section name="databaseSettings" type="System.Configuration.NameValueSectionHandler" />
|
||||
</configSections>
|
||||
<common>
|
||||
<logging>
|
||||
@@ -24,59 +24,67 @@
|
||||
<!-- choices are INLINE, FILE, FILE-WATCH, EXTERNAL-->
|
||||
<!-- otherwise BasicConfigurer.Configure is used -->
|
||||
<!-- log4net configuration file is specified with key configFile-->
|
||||
<arg key="configType" value="FILE-WATCH"/>
|
||||
<arg key="configFile" value="~/Config/Log4Net.xml"/>
|
||||
<arg key="configType" value="FILE-WATCH" />
|
||||
<arg key="configFile" value="~/Config/Log4Net.xml" />
|
||||
</factoryAdapter>
|
||||
</logging>
|
||||
</common>
|
||||
<spring>
|
||||
<parsers>
|
||||
<parser type="Spring.Data.Config.DatabaseNamespaceParser, Spring.Data"/>
|
||||
<parser type="Spring.Transaction.Config.TxNamespaceParser, Spring.Data"/>
|
||||
<parser type="Spring.Data.Config.DatabaseNamespaceParser, Spring.Data" />
|
||||
<parser type="Spring.Transaction.Config.TxNamespaceParser, Spring.Data" />
|
||||
</parsers>
|
||||
<context>
|
||||
<resource uri="~/Config/Aspects.xml"/>
|
||||
<resource uri="assembly://Spring.Northwind.Dao.NHibernate/Spring.Northwind.Dao/Dao.xml"/>
|
||||
<resource uri="assembly://Spring.Northwind.Service/Spring.Northwind.Service/Services.xml"/>
|
||||
<resource uri="~/Web.xml"/>
|
||||
<resource uri="~/Config/Aspects.xml" />
|
||||
<resource uri="assembly://Spring.Northwind.Dao.NHibernate/Spring.Northwind.Dao/Dao.xml" />
|
||||
<resource uri="assembly://Spring.Northwind.Service/Spring.Northwind.Service/Services.xml" />
|
||||
<resource uri="~/Web.xml" />
|
||||
</context>
|
||||
</spring>
|
||||
<!-- These properties are referenced in Dao.xml -->
|
||||
<databaseSettings>
|
||||
<add key="db.datasource" value=".\SQLEXPRESS; Integrated Security=true; AttachDbFilename=|DataDirectory|northwnd.mdf; User Instance=true;"/>
|
||||
<add key="db.user" value="springqa"/>
|
||||
<add key="db.password" value="springqa"/>
|
||||
<add key="db.database" value="Northwind"/>
|
||||
<add key="db.datasource" value=".\SQLEXPRESS; Integrated Security=true; AttachDbFilename=|DataDirectory|northwnd.mdf; User Instance=true;" />
|
||||
<add key="db.user" value="springqa" />
|
||||
<add key="db.password" value="springqa" />
|
||||
<add key="db.database" value="Northwind" />
|
||||
</databaseSettings>
|
||||
<appSettings>
|
||||
<add key="Spring.Data.NHibernate.Support.OpenSessionInViewModule.SessionFactoryObjectName" value="NHibernateSessionFactory"/>
|
||||
<add key="Spring.Data.NHibernate.Support.OpenSessionInViewModule.SessionFactoryObjectName" value="NHibernateSessionFactory" />
|
||||
</appSettings>
|
||||
<connectionStrings/>
|
||||
<connectionStrings />
|
||||
<system.web>
|
||||
<httpModules>
|
||||
<add name="Spring" type="Spring.Context.Support.WebSupportModule, Spring.Web"/>
|
||||
<add name="OpenSessionInView" type="Spring.Data.NHibernate.Support.OpenSessionInViewModule, Spring.Data.NHibernate32"/>
|
||||
<add name="Spring" type="Spring.Context.Support.WebSupportModule, Spring.Web" />
|
||||
<add name="OpenSessionInView" type="Spring.Data.NHibernate.Support.OpenSessionInViewModule, Spring.Data.NHibernate3" />
|
||||
</httpModules>
|
||||
<httpHandlers>
|
||||
<add verb="*" path="*.aspx" type="Spring.Web.Support.PageHandlerFactory, Spring.Web"/>
|
||||
<add verb="*" path="ContextMonitor.ashx" type="Spring.Web.Support.ContextMonitor, Spring.Web"/>
|
||||
<add verb="*" path="*.aspx" type="Spring.Web.Support.PageHandlerFactory, Spring.Web" />
|
||||
<add verb="*" path="ContextMonitor.ashx" type="Spring.Web.Support.ContextMonitor, Spring.Web" />
|
||||
</httpHandlers>
|
||||
<compilation debug="true"/>
|
||||
<compilation debug="true" />
|
||||
<pages theme="Spring">
|
||||
<controls>
|
||||
<add tagPrefix="spring" namespace="Spring.Web.UI.Controls" assembly="Spring.Web"/>
|
||||
<add tagPrefix="spring" namespace="Spring.Web.UI.Controls" assembly="Spring.Web" />
|
||||
</controls>
|
||||
</pages>
|
||||
</system.web>
|
||||
<system.webServer>
|
||||
<validation validateIntegratedModeConfiguration="false"/>
|
||||
<validation validateIntegratedModeConfiguration="false" />
|
||||
<modules>
|
||||
<add name="Spring" type="Spring.Context.Support.WebSupportModule, Spring.Web"/>
|
||||
<add name="OpenSessionInView" type="Spring.Data.NHibernate.Support.OpenSessionInViewModule, Spring.Data.NHibernate32"/>
|
||||
<add name="Spring" type="Spring.Context.Support.WebSupportModule, Spring.Web" />
|
||||
<add name="OpenSessionInView" type="Spring.Data.NHibernate.Support.OpenSessionInViewModule, Spring.Data.NHibernate3" />
|
||||
</modules>
|
||||
<handlers>
|
||||
<add name="SpringPageHandler" verb="*" path="*.aspx" type="Spring.Web.Support.PageHandlerFactory, Spring.Web"/>
|
||||
<add name="SpringContextMonitor" verb="*" path="ContextMonitor.ashx" type="Spring.Web.Support.ContextMonitor, Spring.Web"/>
|
||||
<add name="SpringPageHandler" verb="*" path="*.aspx" type="Spring.Web.Support.PageHandlerFactory, Spring.Web" />
|
||||
<add name="SpringContextMonitor" verb="*" path="ContextMonitor.ashx" type="Spring.Web.Support.ContextMonitor, Spring.Web" />
|
||||
</handlers>
|
||||
</system.webServer>
|
||||
<runtime>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="NHibernate" publicKeyToken="aa95f207798dfdb4" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-3.2.0.4000" newVersion="3.2.0.4000" />
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
</runtime>
|
||||
</configuration>
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="Iesi.Collections" version="3.2.0.4000" targetFramework="net40" />
|
||||
<package id="NHibernate" version="3.2.0.4000" targetFramework="net40" />
|
||||
<package id="NHibernate" version="3.3.3.4001" targetFramework="net40" />
|
||||
</packages>
|
||||
@@ -1,4 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<configSections>
|
||||
<sectionGroup name="spring">
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
<spring>
|
||||
<parsers>
|
||||
<parser type="Spring.Data.Config.DatabaseNamespaceParser, Spring.Data"/>
|
||||
<parser type="Spring.Data.Config.DatabaseNamespaceParser, Spring.Data" />
|
||||
<parser type="Spring.Transaction.Config.TxNamespaceParser, Spring.Data" />
|
||||
</parsers>
|
||||
</spring>
|
||||
@@ -32,8 +32,8 @@
|
||||
<!-- choices are INLINE, FILE, FILE-WATCH, EXTERNAL-->
|
||||
<!-- otherwise BasicConfigurer.Configure is used -->
|
||||
<!-- log4net configuration file is specified with key configFile-->
|
||||
<arg key="configType" value="INLINE"/>
|
||||
<arg key="configFile" value="filename"/>
|
||||
<arg key="configType" value="INLINE" />
|
||||
<arg key="configFile" value="filename" />
|
||||
</factoryAdapter>
|
||||
</logging>
|
||||
</common>
|
||||
@@ -66,4 +66,12 @@
|
||||
|
||||
|
||||
</log4net>
|
||||
<runtime>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="NHibernate" publicKeyToken="aa95f207798dfdb4" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-3.2.0.4000" newVersion="3.2.0.4000" />
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
</runtime>
|
||||
</configuration>
|
||||
|
||||
@@ -62,7 +62,7 @@
|
||||
<HintPath>..\..\packages\Iesi.Collections.3.2.0.4000\lib\Net35\Iesi.Collections.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="NHibernate">
|
||||
<HintPath>..\..\packages\NHibernate.3.2.0.4000\lib\Net35\NHibernate.dll</HintPath>
|
||||
<HintPath>..\..\packages\NHibernate.3.3.3.4001\lib\Net35\NHibernate.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="nunit.framework">
|
||||
<HintPath>..\..\packages\NUnit.2.6.3\lib\nunit.framework.dll</HintPath>
|
||||
@@ -75,9 +75,9 @@
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\..\..\..\bin\net\4.0\debug\Spring.Data.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Spring.Data.NHibernate32, Version=1.1.2.20153, Culture=neutral, processorArchitecture=MSIL">
|
||||
<Reference Include="Spring.Data.NHibernate3, Version=1.1.2.20153, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\..\..\..\bin\net\4.0\debug\Spring.Data.NHibernate32.dll</HintPath>
|
||||
<HintPath>..\..\..\..\..\bin\net\4.0\debug\Spring.Data.NHibernate3.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Spring.Testing.NUnit, Version=1.1.2.20153, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="Iesi.Collections" version="3.2.0.4000" targetFramework="net40" />
|
||||
<package id="NHibernate" version="3.2.0.4000" targetFramework="net40" />
|
||||
<package id="NHibernate" version="3.3.3.4001" targetFramework="net40" />
|
||||
<package id="NUnit" version="2.6.3" targetFramework="net40" />
|
||||
</packages>
|
||||
BIN
examples/Spring/Spring.WebQuickStart/.nuget/NuGet.exe
Normal file
BIN
examples/Spring/Spring.WebQuickStart/.nuget/NuGet.exe
Normal file
Binary file not shown.
23
readme.txt
23
readme.txt
@@ -62,8 +62,7 @@ Release contents:
|
||||
* "test" contains the C# source files for Spring.NET's test suite
|
||||
* "bin" contains various Spring.NET distribution dll files
|
||||
* "lib/Net" contains shared third-party libraries needed for building the framework
|
||||
* "lib/NHibernate31" contains NHibernate 3.2 dlls
|
||||
* "lib/NHibernate32" contains NHibernate 3.3 dlls
|
||||
* "lib/NHibernate3" contains NHibernate 3.3 dlls
|
||||
* "doc" contains reference documentation, MSDN-style API help, and the Spring.NET xsd.
|
||||
* "examples" contains sample applications.
|
||||
* "build-support" contains additonal applications need to build using NAnt as some convenience
|
||||
@@ -95,12 +94,12 @@ The "bin" directory contains the following distinct dll files for use in applica
|
||||
- Contents: Transaction and ADO.NET Framework.
|
||||
- Dependencies: Spring.Core, Spring.Aop
|
||||
|
||||
* "Spring.Data.NHibernate32" (~90 KB)
|
||||
- Contents: NHibernate 3.2 integration
|
||||
* "Spring.Data.NHibernate3" (~90 KB)
|
||||
- Contents: NHibernate 3.x integration
|
||||
- Dependencies: Spring.Core, Spring.Aop, Spring.Data, NHibernate
|
||||
|
||||
* "Spring.Data.NHibernate33" (~90 KB)
|
||||
- Contents: NHibernate 3.3 integration
|
||||
* "Spring.Data.NHibernate4" (~90 KB)
|
||||
- Contents: NHibernate 4.x integration
|
||||
- Dependencies: Spring.Core, Spring.Aop, Spring.Data, NHibernate
|
||||
|
||||
* "Spring.Services" (~70 KB)
|
||||
@@ -115,10 +114,6 @@ The "bin" directory contains the following distinct dll files for use in applica
|
||||
- Contents: ASP.NET AJAX Integartion
|
||||
- Dependencies: Spring.Core, Spring.Aop, System.Web.Extensions
|
||||
|
||||
* "Spring.Web.Mvc" (~8 KB)
|
||||
- Contents: ASP.NET MVC2 Integartion
|
||||
- Dependencies: Spring.Core, Spring.Web
|
||||
|
||||
* "Spring.Web.Mvc3" (~8 KB)
|
||||
- Contents: ASP.NET MVC3 Integartion
|
||||
- Dependencies: Spring.Core, Spring.Web
|
||||
@@ -127,6 +122,10 @@ The "bin" directory contains the following distinct dll files for use in applica
|
||||
- Contents: ASP.NET MVC4 and WebAPI Integartion
|
||||
- Dependencies: Spring.Core, Spring.Web
|
||||
|
||||
* "Spring.Web.Mvc5" (~8 KB)
|
||||
- Contents: ASP.NET MVC5 and WebAPI Integartion
|
||||
- Dependencies: Spring.Core, Spring.Web
|
||||
|
||||
* "Spring.Testing.NUnit" (~24 KB)
|
||||
- Contents: NUnit Integration
|
||||
- Dependencies: Spring.Core, Spring.Data, NUnit
|
||||
@@ -143,8 +142,8 @@ The "bin" directory contains the following distinct dll files for use in applica
|
||||
- Contents: NMS Integration
|
||||
- Dependencies: Spring.Core, Spring.Data, Apache NMS
|
||||
|
||||
* "Spring.Scheduling.Quartz" (~44 KB)
|
||||
- Contents: Quartz 1.0 Integration
|
||||
* "Spring.Scheduling.Quartz2" (~44 KB)
|
||||
- Contents: Quartz 2.x Integration
|
||||
- Dependencies: Spring.Core, Spring.Data, Quartz
|
||||
|
||||
* "Spring.Template.Velocity" (~44 KB)
|
||||
|
||||
@@ -1,12 +1,9 @@
|
||||
using System.Data;
|
||||
using System.Collections;
|
||||
using System.Configuration;
|
||||
using System.Collections.Generic;
|
||||
|
||||
using NHibernate;
|
||||
using NHibernate.Cfg;
|
||||
using NHibernate.Connection;
|
||||
|
||||
using Spring.Data.NHibernate;
|
||||
using Configuration = NHibernate.Cfg.Configuration;
|
||||
|
||||
namespace Spring.Data.NHibernate
|
||||
{
|
||||
@@ -40,20 +37,18 @@ namespace Spring.Data.NHibernate
|
||||
protected override void PostProcessConfiguration(Configuration config)
|
||||
{
|
||||
// called before NewSessionFactory
|
||||
var settings = ConfigurationManager.ConnectionStrings[config.Properties[NHibernate.Cfg.Environment.ConnectionStringName]];
|
||||
var settings = ConfigurationManager.ConnectionStrings[config.Properties[global::NHibernate.Cfg.Environment.ConnectionStringName]];
|
||||
|
||||
if (settings != null)
|
||||
{
|
||||
config.Properties.Add(new KeyValuePair<string, string>(NHibernate.Cfg.Environment.ConnectionString, settings.ConnectionString));
|
||||
}
|
||||
if (settings != null)
|
||||
{
|
||||
config.Properties.Add(new KeyValuePair<string, string>(global::NHibernate.Cfg.Environment.ConnectionString, settings.ConnectionString));
|
||||
}
|
||||
|
||||
// called before NewSessionFactory
|
||||
if (!config.Properties.ContainsKey(NHibernate.Cfg.Environment.ConnectionString))
|
||||
{
|
||||
throw new System.ArgumentException("Must specify connection string. If connection_string_name is set to a value, make sure there exists a connection string with that name.");
|
||||
}
|
||||
// called before NewSessionFactory
|
||||
if (!config.Properties.ContainsKey(global::NHibernate.Cfg.Environment.ConnectionString))
|
||||
{
|
||||
throw new System.ArgumentException("Must specify connection string. If connection_string_name is set to a value, make sure there exists a connection string with that name.");
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -1,11 +1,7 @@
|
||||
using System.Data;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
|
||||
using NHibernate;
|
||||
using NHibernate.Cfg;
|
||||
using NHibernate.Connection;
|
||||
using NHibernate.Dialect;
|
||||
using NHibernate.Engine;
|
||||
using NHibernate.Metadata;
|
||||
using NHibernate.Stat;
|
||||
|
||||
@@ -586,6 +586,7 @@ namespace Spring.Data.NHibernate.Generic
|
||||
classicHibernateTemplate.SaveOrUpdate(entity);
|
||||
}
|
||||
|
||||
#if !NH_4_0
|
||||
/// <summary>
|
||||
/// Save or update the contents of given persistent object,
|
||||
/// according to its id (matching the configured "unsaved-value"?).
|
||||
@@ -602,8 +603,8 @@ namespace Spring.Data.NHibernate.Generic
|
||||
{
|
||||
return classicHibernateTemplate.SaveOrUpdateCopy(entity);
|
||||
}
|
||||
#endif
|
||||
|
||||
#if !NH_1_2
|
||||
/// <summary>
|
||||
/// Copy the state of the given object onto the persistent object with the same identifier.
|
||||
/// If there is no persistent instance currently associated with the session, it will be loaded.
|
||||
@@ -622,7 +623,6 @@ namespace Spring.Data.NHibernate.Generic
|
||||
{
|
||||
return classicHibernateTemplate.Merge(entity);
|
||||
}
|
||||
#endif
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -222,6 +222,7 @@ namespace Spring.Data.NHibernate
|
||||
/// <exception cref="DataAccessException">In case of Hibernate errors</exception>
|
||||
void SaveOrUpdate(object entity);
|
||||
|
||||
#if !NH_4_0
|
||||
/// <summary>
|
||||
/// Save or update the contents of given persistent object,
|
||||
/// according to its id (matching the configured "unsaved-value"?).
|
||||
@@ -235,8 +236,8 @@ namespace Spring.Data.NHibernate
|
||||
/// (either an already loaded instance with the same id, or the given object)</returns>
|
||||
/// <exception cref="DataAccessException">In case of Hibernate errors</exception>
|
||||
object SaveOrUpdateCopy(object entity);
|
||||
#endif
|
||||
|
||||
#if !NH_1_2
|
||||
/// <summary>
|
||||
/// Copy the state of the given object onto the persistent object with the same identifier.
|
||||
/// If there is no persistent instance currently associated with the session, it will be loaded.
|
||||
@@ -252,7 +253,6 @@ namespace Spring.Data.NHibernate
|
||||
/// <returns>An updated persistent instance</returns>
|
||||
/// <exception cref="DataAccessException">In case of Hibernate errors</exception>
|
||||
object Merge(object entity);
|
||||
#endif
|
||||
|
||||
#endregion
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>Spring</RootNamespace>
|
||||
<AssemblyName>Spring.Data.NHibernate33</AssemblyName>
|
||||
<AssemblyName>Spring.Data.NHibernate3</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
<FileUpgradeFlags>
|
||||
</FileUpgradeFlags>
|
||||
@@ -38,22 +38,22 @@
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>..\..\..\build\VS.Net.2010\Spring.Data.NHibernate33\Debug\</OutputPath>
|
||||
<OutputPath>..\..\..\build\VS.Net.2010\Spring.Data.NHibernate3\Debug\</OutputPath>
|
||||
<DefineConstants>TRACE;DEBUG;NET_4_0</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<DocumentationFile>Spring.Data.NHibernate33.xml</DocumentationFile>
|
||||
<DocumentationFile>Spring.Data.NHibernate3.xml</DocumentationFile>
|
||||
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
||||
<NoWarn>0618</NoWarn>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>..\..\..\build\VS.Net.2010\Spring.Data.NHibernate33\Release\</OutputPath>
|
||||
<OutputPath>..\..\..\build\VS.Net.2010\Spring.Data.NHibernate3\Release\</OutputPath>
|
||||
<DefineConstants>TRACE;NET_4_0</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<DocumentationFile>Spring.Data.NHibernate33.xml</DocumentationFile>
|
||||
<DocumentationFile>Spring.Data.NHibernate3.xml</DocumentationFile>
|
||||
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
||||
<NoWarn>0618</NoWarn>
|
||||
</PropertyGroup>
|
||||
@@ -70,6 +70,7 @@
|
||||
<HintPath>..\..\..\packages\NHibernate.3.3.3.4001\lib\Net35\NHibernate.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Configuration" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Transactions" />
|
||||
<Reference Include="System.Web" />
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" ?>
|
||||
<project name="Spring.Data.NHibernate33" default="build" xmlns="http://nant.sf.net/schemas/nant.xsd">
|
||||
<project name="Spring.Data.NHibernate3" default="build" xmlns="http://nant.sf.net/schemas/nant.xsd">
|
||||
<!--
|
||||
Required properties:
|
||||
* current.bin.dir - (path) root level to build to
|
||||
@@ -8,20 +8,20 @@
|
||||
-->
|
||||
<target name="build">
|
||||
|
||||
<echo message="${nh33.lib.dir}" />
|
||||
<echo message="${nh3.lib.dir}" />
|
||||
<copy todir="${current.bin.dir}" overwrite="true">
|
||||
<fileset basedir="${nh33.lib.dir}">
|
||||
<fileset basedir="${nh3.lib.dir}">
|
||||
<include name="**/*.dll" />
|
||||
</fileset>
|
||||
</copy>
|
||||
<echo message="${iesi33.lib.dir}" />
|
||||
<echo message="${iesi3.lib.dir}" />
|
||||
<copy todir="${current.bin.dir}" overwrite="true">
|
||||
<fileset basedir="${iesi33.lib.dir}">
|
||||
<fileset basedir="${iesi3.lib.dir}">
|
||||
<include name="**/*.dll" />
|
||||
</fileset>
|
||||
</copy>
|
||||
|
||||
<!-- build Spring.Data.NHibernate33 -->
|
||||
<!-- build Spring.Data.NHibernate3 -->
|
||||
<csc target="library" define="${current.build.defines.csc}"
|
||||
warnaserror="true"
|
||||
optimize="${build.optimize}"
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0"?>
|
||||
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
|
||||
<metadata>
|
||||
<id>Spring.Data.NHibernate33</id>
|
||||
<id>Spring.Data.NHibernate3</id>
|
||||
<title>Spring.Net NHibernate 3.3 support</title>
|
||||
<projectUrl>http://www.springframework.net/</projectUrl>
|
||||
<licenseUrl>http://www.springframework.net/license.html</licenseUrl>
|
||||
@@ -21,14 +21,14 @@
|
||||
</dependencies>
|
||||
</metadata>
|
||||
<files>
|
||||
<file src="build\net\3.5\release\Spring.Data.NHibernate33.dll" target="lib\net35" />
|
||||
<file src="build\net\3.5\release\Spring.Data.NHibernate33.pdb" target="lib\net35" />
|
||||
<file src="build\net\3.5\release\Spring.Data.NHibernate33.xml" target="lib\net35" />
|
||||
<file src="build\net\4.0\release\Spring.Data.NHibernate33.dll" target="lib\net40" />
|
||||
<file src="build\net\4.0\release\Spring.Data.NHibernate33.pdb" target="lib\net40" />
|
||||
<file src="build\net\4.0\release\Spring.Data.NHibernate33.xml" target="lib\net40" />
|
||||
<file src="build\net\4.5\release\Spring.Data.NHibernate33.dll" target="lib\net45" />
|
||||
<file src="build\net\4.5\release\Spring.Data.NHibernate33.pdb" target="lib\net45" />
|
||||
<file src="build\net\4.5\release\Spring.Data.NHibernate33.xml" target="lib\net45" />
|
||||
<file src="build\net\3.5\release\Spring.Data.NHibernate3.dll" target="lib\net35" />
|
||||
<file src="build\net\3.5\release\Spring.Data.NHibernate3.pdb" target="lib\net35" />
|
||||
<file src="build\net\3.5\release\Spring.Data.NHibernate3.xml" target="lib\net35" />
|
||||
<file src="build\net\4.0\release\Spring.Data.NHibernate3.dll" target="lib\net40" />
|
||||
<file src="build\net\4.0\release\Spring.Data.NHibernate3.pdb" target="lib\net40" />
|
||||
<file src="build\net\4.0\release\Spring.Data.NHibernate3.xml" target="lib\net40" />
|
||||
<file src="build\net\4.5\release\Spring.Data.NHibernate3.dll" target="lib\net45" />
|
||||
<file src="build\net\4.5\release\Spring.Data.NHibernate3.pdb" target="lib\net45" />
|
||||
<file src="build\net\4.5\release\Spring.Data.NHibernate3.xml" target="lib\net45" />
|
||||
</files>
|
||||
</package>
|
||||
@@ -1,5 +0,0 @@
|
||||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: AssemblyTitle("Spring.Net NHibernate 3.2 support")]
|
||||
[assembly: AssemblyDescription("Interfaces and classes that provide NHibernate 3.2 support in Spring.Net")]
|
||||
@@ -1,34 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
|
||||
<metadata>
|
||||
<id>Spring.Data.NHibernate32</id>
|
||||
<title>Spring.Net NHibernate 3.2 support</title>
|
||||
<projectUrl>http://www.springframework.net/</projectUrl>
|
||||
<licenseUrl>http://www.springframework.net/license.html</licenseUrl>
|
||||
<iconUrl>http://springframework.net/images/SpringSource_Leaves32x32.png</iconUrl>
|
||||
<version>0.0.0</version>
|
||||
<!-- this value is a placeholder replaced by build script -->
|
||||
<authors>SpringSource</authors>
|
||||
<description>Interfaces and classes that provide NHibernate 3.2 support in Spring.Net</description>
|
||||
<summary>Interfaces and classes that provide NHibernate 3.2 support in Spring.Net</summary>
|
||||
<language>en-US</language>
|
||||
<dependencies>
|
||||
<dependency id="Common.Logging" version="1.2.0" />
|
||||
<dependency id="NHibernate" version="3.2.0" />
|
||||
<dependency id="Spring.Aop" version="2.0.0-RC1" />
|
||||
<dependency id="Spring.Core" version="2.0.0-RC1" />
|
||||
<dependency id="Spring.Data" version="2.0.0-RC1" />
|
||||
</dependencies>
|
||||
</metadata>
|
||||
<files>
|
||||
<file src="build\net\3.5\release\Spring.Data.NHibernate32.dll" target="lib\net35" />
|
||||
<file src="build\net\3.5\release\Spring.Data.NHibernate32.pdb" target="lib\net35" />
|
||||
<file src="build\net\3.5\release\Spring.Data.NHibernate32.xml" target="lib\net35" />
|
||||
<file src="build\net\4.0\release\Spring.Data.NHibernate32.dll" target="lib\net40" />
|
||||
<file src="build\net\4.0\release\Spring.Data.NHibernate32.pdb" target="lib\net40" />
|
||||
<file src="build\net\4.0\release\Spring.Data.NHibernate32.xml" target="lib\net40" />
|
||||
<file src="build\net\4.5\release\Spring.Data.NHibernate32.dll" target="lib\net45" />
|
||||
<file src="build\net\4.5\release\Spring.Data.NHibernate32.pdb" target="lib\net45" />
|
||||
<file src="build\net\4.5\release\Spring.Data.NHibernate32.xml" target="lib\net45" />
|
||||
</files>
|
||||
</package>
|
||||
5
src/Spring/Spring.Data.NHibernate4/AssemblyInfo.cs
Normal file
5
src/Spring/Spring.Data.NHibernate4/AssemblyInfo.cs
Normal file
@@ -0,0 +1,5 @@
|
||||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: AssemblyTitle("Spring.Net NHibernate 3.3 support")]
|
||||
[assembly: AssemblyDescription("Interfaces and classes that provide NHibernate 3.3 support in Spring.Net")]
|
||||
@@ -1,255 +1,254 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>9.0.30729</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{9F0F739C-876E-4C4B-AA55-9AC9242C25C8}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>Spring</RootNamespace>
|
||||
<AssemblyName>Spring.Data.NHibernate32</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
<FileUpgradeFlags>
|
||||
</FileUpgradeFlags>
|
||||
<OldToolsVersion>3.5</OldToolsVersion>
|
||||
<UpgradeBackupLocation />
|
||||
<TargetFrameworkProfile />
|
||||
<PublishUrl>publish\</PublishUrl>
|
||||
<Install>true</Install>
|
||||
<InstallFrom>Disk</InstallFrom>
|
||||
<UpdateEnabled>false</UpdateEnabled>
|
||||
<UpdateMode>Foreground</UpdateMode>
|
||||
<UpdateInterval>7</UpdateInterval>
|
||||
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
||||
<UpdatePeriodically>false</UpdatePeriodically>
|
||||
<UpdateRequired>false</UpdateRequired>
|
||||
<MapFileExtensions>true</MapFileExtensions>
|
||||
<ApplicationRevision>0</ApplicationRevision>
|
||||
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||
<UseApplicationTrust>false</UseApplicationTrust>
|
||||
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\..\</SolutionDir>
|
||||
<RestorePackages>true</RestorePackages>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>..\..\..\build\VS.Net.2010\Spring.Data.NHibernate32\Debug\</OutputPath>
|
||||
<DefineConstants>TRACE;DEBUG;NET_4_0</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<DocumentationFile>Spring.Data.NHibernate32.xml</DocumentationFile>
|
||||
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
||||
<NoWarn>0618</NoWarn>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>..\..\..\build\VS.Net.2010\Spring.Data.NHibernate32\Release\</OutputPath>
|
||||
<DefineConstants>TRACE;NET_4_0</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<DocumentationFile>Spring.Data.NHibernate32.xml</DocumentationFile>
|
||||
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
||||
<NoWarn>0618</NoWarn>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Common.Logging">
|
||||
<HintPath>..\..\..\packages\Common.Logging.2.1.2\lib\net40\Common.Logging.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Iesi.Collections, Version=1.0.1.0, Culture=neutral, PublicKeyToken=aa95f207798dfdb4, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\..\packages\Iesi.Collections.3.2.0.4000\lib\Net35\Iesi.Collections.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="NHibernate, Version=3.2.0.4000, Culture=neutral, PublicKeyToken=aa95f207798dfdb4, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\..\packages\NHibernate.3.2.0.4000\lib\Net35\NHibernate.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Transactions" />
|
||||
<Reference Include="System.Web" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="..\CommonAssemblyInfo.cs">
|
||||
<Link>CommonAssemblyInfo.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Data.NHibernate\Data\NHibernate\Bytecode\BytecodeProvider.cs">
|
||||
<Link>Data\NHibernate\Bytecode\BytecodeProvider.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Data.NHibernate\Data\NHibernate\Bytecode\LazyInitializer.cs">
|
||||
<Link>Data\NHibernate\Bytecode\LazyInitializer.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Data.NHibernate\Data\NHibernate\Bytecode\ObjectsFactory.cs">
|
||||
<Link>Data\NHibernate\Bytecode\ObjectsFactory.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Data.NHibernate\Data\NHibernate\Bytecode\ProxyFactory.cs">
|
||||
<Link>Data\NHibernate\Bytecode\ProxyFactory.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Data.NHibernate\Data\NHibernate\Bytecode\ProxyFactoryFactory.cs">
|
||||
<Link>Data\NHibernate\Bytecode\ProxyFactoryFactory.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Data.NHibernate\Data\NHibernate\Bytecode\ReflectionOptimizer.cs">
|
||||
<Link>Data\NHibernate\Bytecode\ReflectionOptimizer.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Data.NHibernate\Data\NHibernate\DelegatingLocalSessionFactoryObject.cs">
|
||||
<Link>Data\NHibernate\DelegatingLocalSessionFactoryObject.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Data.NHibernate\Data\NHibernate\DelegatingSessionFactory.cs">
|
||||
<Link>Data\NHibernate\DelegatingSessionFactory.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Data.NHibernate\Data\NHibernate\FilterDefinitionFactoryObject.cs">
|
||||
<Link>Data\NHibernate\FilterDefinitionFactoryObject.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Data.NHibernate\Data\NHibernate\Generic\FindHibernateDelegate.cs">
|
||||
<Link>Data\NHibernate\Generic\FindHibernateDelegate.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Data.NHibernate\Data\NHibernate\Generic\HibernateDaoSupport.cs">
|
||||
<Link>Data\NHibernate\Generic\HibernateDaoSupport.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Data.NHibernate\Data\NHibernate\Generic\HibernateDelegate.cs">
|
||||
<Link>Data\NHibernate\Generic\HibernateDelegate.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Data.NHibernate\Data\NHibernate\Generic\HibernateTemplate.cs">
|
||||
<Link>Data\NHibernate\Generic\HibernateTemplate.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Data.NHibernate\Data\NHibernate\Generic\IFindHibernateCallback.cs">
|
||||
<Link>Data\NHibernate\Generic\IFindHibernateCallback.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Data.NHibernate\Data\NHibernate\Generic\IHibernateCallback.cs">
|
||||
<Link>Data\NHibernate\Generic\IHibernateCallback.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Data.NHibernate\Data\NHibernate\Generic\IHibernateOperations.cs">
|
||||
<Link>Data\NHibernate\Generic\IHibernateOperations.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Data.NHibernate\Data\NHibernate\HibernateAccessor.cs">
|
||||
<Link>Data\NHibernate\HibernateAccessor.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Data.NHibernate\Data\NHibernate\HibernateAdoException.cs">
|
||||
<Link>Data\NHibernate\HibernateAdoException.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Data.NHibernate\Data\NHibernate\HibernateDelegate.cs">
|
||||
<Link>Data\NHibernate\HibernateDelegate.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Data.NHibernate\Data\NHibernate\HibernateObjectRetrievalFailureException.cs">
|
||||
<Link>Data\NHibernate\HibernateObjectRetrievalFailureException.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Data.NHibernate\Data\NHibernate\HibernateOptimisticLockingFailureException.cs">
|
||||
<Link>Data\NHibernate\HibernateOptimisticLockingFailureException.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Data.NHibernate\Data\NHibernate\HibernateQueryException.cs">
|
||||
<Link>Data\NHibernate\HibernateQueryException.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Data.NHibernate\Data\NHibernate\HibernateSystemException.cs">
|
||||
<Link>Data\NHibernate\HibernateSystemException.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Data.NHibernate\Data\NHibernate\HibernateTemplate.cs">
|
||||
<Link>Data\NHibernate\HibernateTemplate.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Data.NHibernate\Data\NHibernate\HibernateTransactionManager.cs">
|
||||
<Link>Data\NHibernate\HibernateTransactionManager.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Data.NHibernate\Data\NHibernate\HibernateTxScopeTransactionManager.cs">
|
||||
<Link>Data\NHibernate\HibernateTxScopeTransactionManager.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Data.NHibernate\Data\NHibernate\ICommonHibernateOperations.cs">
|
||||
<Link>Data\NHibernate\ICommonHibernateOperations.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Data.NHibernate\Data\NHibernate\IHibernateCallback.cs">
|
||||
<Link>Data\NHibernate\IHibernateCallback.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Data.NHibernate\Data\NHibernate\IHibernateOperations.cs">
|
||||
<Link>Data\NHibernate\IHibernateOperations.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Data.NHibernate\Data\NHibernate\LocalSessionFactoryObject.cs">
|
||||
<Link>Data\NHibernate\LocalSessionFactoryObject.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Data.NHibernate\Data\NHibernate\SessionFactoryUtils.cs">
|
||||
<Link>Data\NHibernate\SessionFactoryUtils.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Data.NHibernate\Data\NHibernate\SessionHolder.cs">
|
||||
<Link>Data\NHibernate\SessionHolder.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Data.NHibernate\Data\NHibernate\SimpleDelegatingSessionFactory.cs">
|
||||
<Link>Data\NHibernate\SimpleDelegatingSessionFactory.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Data.NHibernate\Data\NHibernate\SpringSessionContext.cs">
|
||||
<Link>Data\NHibernate\SpringSessionContext.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Data.NHibernate\Data\NHibernate\SpringSessionSynchronization.cs">
|
||||
<Link>Data\NHibernate\SpringSessionSynchronization.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Data.NHibernate\Data\NHibernate\Support\ConfigSectionSessionScopeSettings.cs">
|
||||
<Link>Data\NHibernate\Support\ConfigSectionSessionScopeSettings.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Data.NHibernate\Data\NHibernate\Support\HibernateDaoSupport.cs">
|
||||
<Link>Data\NHibernate\Support\HibernateDaoSupport.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Data.NHibernate\Data\NHibernate\Support\OpenSessionInViewModule.cs">
|
||||
<Link>Data\NHibernate\Support\OpenSessionInViewModule.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Data.NHibernate\Data\NHibernate\Support\SessionScope.cs">
|
||||
<Link>Data\NHibernate\Support\SessionScope.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Data.NHibernate\Data\NHibernate\Support\SessionScopeSettings.cs">
|
||||
<Link>Data\NHibernate\Support\SessionScopeSettings.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Data.NHibernate\Data\NHibernate\TemplateFlushMode.cs">
|
||||
<Link>Data\NHibernate\TemplateFlushMode.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="AssemblyInfo.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\Spring.Aop\Spring.Aop.2010.csproj">
|
||||
<Project>{3A3A4E65-45A6-4B20-B460-0BEDC302C02C}</Project>
|
||||
<Name>Spring.Aop.2010</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Spring.Core\Spring.Core.2010.csproj">
|
||||
<Project>{710961A3-0DF4-49E4-A26E-F5B9C044AC84}</Project>
|
||||
<Name>Spring.Core.2010</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Spring.Data\Spring.Data.2010.csproj">
|
||||
<Project>{AE00E5AB-C39A-436F-86D2-33BFE33E2E40}</Project>
|
||||
<Name>Spring.Data.2010</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BootstrapperPackage Include=".NETFramework,Version=v4.0">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>Microsoft .NET Framework 4 %28x86 and x64%29</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>Windows Installer 3.1</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="packages.config" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>9.0.30729</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{D9C45177-0D80-4133-AB46-58F142DB92AA}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>Spring</RootNamespace>
|
||||
<AssemblyName>Spring.Data.NHibernate4</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
<FileUpgradeFlags>
|
||||
</FileUpgradeFlags>
|
||||
<OldToolsVersion>3.5</OldToolsVersion>
|
||||
<UpgradeBackupLocation />
|
||||
<TargetFrameworkProfile />
|
||||
<PublishUrl>publish\</PublishUrl>
|
||||
<Install>true</Install>
|
||||
<InstallFrom>Disk</InstallFrom>
|
||||
<UpdateEnabled>false</UpdateEnabled>
|
||||
<UpdateMode>Foreground</UpdateMode>
|
||||
<UpdateInterval>7</UpdateInterval>
|
||||
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
||||
<UpdatePeriodically>false</UpdatePeriodically>
|
||||
<UpdateRequired>false</UpdateRequired>
|
||||
<MapFileExtensions>true</MapFileExtensions>
|
||||
<ApplicationRevision>0</ApplicationRevision>
|
||||
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||
<UseApplicationTrust>false</UseApplicationTrust>
|
||||
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\..\</SolutionDir>
|
||||
<RestorePackages>true</RestorePackages>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>..\..\..\build\VS.Net.2010\Spring.Data.NHibernate4\Debug\</OutputPath>
|
||||
<DefineConstants>TRACE;DEBUG;NET_4_0,NH_4_0</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<DocumentationFile>Spring.Data.NHibernate4.xml</DocumentationFile>
|
||||
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
||||
<NoWarn>0618</NoWarn>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>..\..\..\build\VS.Net.2010\Spring.Data.NHibernate4\Release\</OutputPath>
|
||||
<DefineConstants>TRACE;NET_4_0,NH_4_0</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<DocumentationFile>Spring.Data.NHibernate4.xml</DocumentationFile>
|
||||
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
||||
<NoWarn>0618</NoWarn>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Common.Logging">
|
||||
<HintPath>..\..\..\packages\Common.Logging.2.1.2\lib\net40\Common.Logging.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Iesi.Collections">
|
||||
<HintPath>..\..\..\packages\Iesi.Collections.4.0.0.4000\lib\net40\Iesi.Collections.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="NHibernate">
|
||||
<HintPath>..\..\..\packages\NHibernate.4.0.0.4000\lib\net40\NHibernate.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Configuration" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Transactions" />
|
||||
<Reference Include="System.Web" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="..\CommonAssemblyInfo.cs">
|
||||
<Link>CommonAssemblyInfo.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Data.NHibernate\Data\NHibernate\Bytecode\BytecodeProvider.cs">
|
||||
<Link>Data\NHibernate\Bytecode\BytecodeProvider.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Data.NHibernate\Data\NHibernate\Bytecode\LazyInitializer.cs">
|
||||
<Link>Data\NHibernate\Bytecode\LazyInitializer.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Data.NHibernate\Data\NHibernate\Bytecode\ObjectsFactory.cs">
|
||||
<Link>Data\NHibernate\Bytecode\ObjectsFactory.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Data.NHibernate\Data\NHibernate\Bytecode\ProxyFactory.cs">
|
||||
<Link>Data\NHibernate\Bytecode\ProxyFactory.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Data.NHibernate\Data\NHibernate\Bytecode\ProxyFactoryFactory.cs">
|
||||
<Link>Data\NHibernate\Bytecode\ProxyFactoryFactory.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Data.NHibernate\Data\NHibernate\Bytecode\ReflectionOptimizer.cs">
|
||||
<Link>Data\NHibernate\Bytecode\ReflectionOptimizer.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Data.NHibernate\Data\NHibernate\DelegatingLocalSessionFactoryObject.cs">
|
||||
<Link>Data\NHibernate\DelegatingLocalSessionFactoryObject.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Data.NHibernate\Data\NHibernate\DelegatingSessionFactory.cs">
|
||||
<Link>Data\NHibernate\DelegatingSessionFactory.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Data.NHibernate\Data\NHibernate\FilterDefinitionFactoryObject.cs">
|
||||
<Link>Data\NHibernate\FilterDefinitionFactoryObject.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Data.NHibernate\Data\NHibernate\Generic\FindHibernateDelegate.cs">
|
||||
<Link>Data\NHibernate\Generic\FindHibernateDelegate.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Data.NHibernate\Data\NHibernate\Generic\HibernateDaoSupport.cs">
|
||||
<Link>Data\NHibernate\Generic\HibernateDaoSupport.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Data.NHibernate\Data\NHibernate\Generic\HibernateDelegate.cs">
|
||||
<Link>Data\NHibernate\Generic\HibernateDelegate.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Data.NHibernate\Data\NHibernate\Generic\HibernateTemplate.cs">
|
||||
<Link>Data\NHibernate\Generic\HibernateTemplate.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Data.NHibernate\Data\NHibernate\Generic\IFindHibernateCallback.cs">
|
||||
<Link>Data\NHibernate\Generic\IFindHibernateCallback.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Data.NHibernate\Data\NHibernate\Generic\IHibernateCallback.cs">
|
||||
<Link>Data\NHibernate\Generic\IHibernateCallback.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Data.NHibernate\Data\NHibernate\Generic\IHibernateOperations.cs">
|
||||
<Link>Data\NHibernate\Generic\IHibernateOperations.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Data.NHibernate\Data\NHibernate\HibernateAccessor.cs">
|
||||
<Link>Data\NHibernate\HibernateAccessor.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Data.NHibernate\Data\NHibernate\HibernateAdoException.cs">
|
||||
<Link>Data\NHibernate\HibernateAdoException.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Data.NHibernate\Data\NHibernate\HibernateDelegate.cs">
|
||||
<Link>Data\NHibernate\HibernateDelegate.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Data.NHibernate\Data\NHibernate\HibernateObjectRetrievalFailureException.cs">
|
||||
<Link>Data\NHibernate\HibernateObjectRetrievalFailureException.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Data.NHibernate\Data\NHibernate\HibernateOptimisticLockingFailureException.cs">
|
||||
<Link>Data\NHibernate\HibernateOptimisticLockingFailureException.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Data.NHibernate\Data\NHibernate\HibernateQueryException.cs">
|
||||
<Link>Data\NHibernate\HibernateQueryException.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Data.NHibernate\Data\NHibernate\HibernateSystemException.cs">
|
||||
<Link>Data\NHibernate\HibernateSystemException.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Data.NHibernate\Data\NHibernate\HibernateTemplate.cs">
|
||||
<Link>Data\NHibernate\HibernateTemplate.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Data.NHibernate\Data\NHibernate\HibernateTransactionManager.cs">
|
||||
<Link>Data\NHibernate\HibernateTransactionManager.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Data.NHibernate\Data\NHibernate\HibernateTxScopeTransactionManager.cs">
|
||||
<Link>Data\NHibernate\HibernateTxScopeTransactionManager.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Data.NHibernate\Data\NHibernate\ICommonHibernateOperations.cs">
|
||||
<Link>Data\NHibernate\ICommonHibernateOperations.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Data.NHibernate\Data\NHibernate\IHibernateCallback.cs">
|
||||
<Link>Data\NHibernate\IHibernateCallback.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Data.NHibernate\Data\NHibernate\IHibernateOperations.cs">
|
||||
<Link>Data\NHibernate\IHibernateOperations.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Data.NHibernate\Data\NHibernate\LocalSessionFactoryObject.cs">
|
||||
<Link>Data\NHibernate\LocalSessionFactoryObject.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Data.NHibernate\Data\NHibernate\SessionFactoryUtils.cs">
|
||||
<Link>Data\NHibernate\SessionFactoryUtils.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Data.NHibernate\Data\NHibernate\SessionHolder.cs">
|
||||
<Link>Data\NHibernate\SessionHolder.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Data.NHibernate\Data\NHibernate\SimpleDelegatingSessionFactory.cs">
|
||||
<Link>Data\NHibernate\SimpleDelegatingSessionFactory.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Data.NHibernate\Data\NHibernate\SpringSessionContext.cs">
|
||||
<Link>Data\NHibernate\SpringSessionContext.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Data.NHibernate\Data\NHibernate\SpringSessionSynchronization.cs">
|
||||
<Link>Data\NHibernate\SpringSessionSynchronization.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Data.NHibernate\Data\NHibernate\Support\ConfigSectionSessionScopeSettings.cs">
|
||||
<Link>Data\NHibernate\Support\ConfigSectionSessionScopeSettings.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Data.NHibernate\Data\NHibernate\Support\HibernateDaoSupport.cs">
|
||||
<Link>Data\NHibernate\Support\HibernateDaoSupport.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Data.NHibernate\Data\NHibernate\Support\OpenSessionInViewModule.cs">
|
||||
<Link>Data\NHibernate\Support\OpenSessionInViewModule.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Data.NHibernate\Data\NHibernate\Support\SessionScope.cs">
|
||||
<Link>Data\NHibernate\Support\SessionScope.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Data.NHibernate\Data\NHibernate\Support\SessionScopeSettings.cs">
|
||||
<Link>Data\NHibernate\Support\SessionScopeSettings.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Data.NHibernate\Data\NHibernate\TemplateFlushMode.cs">
|
||||
<Link>Data\NHibernate\TemplateFlushMode.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="AssemblyInfo.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\Spring.Aop\Spring.Aop.2010.csproj">
|
||||
<Project>{3A3A4E65-45A6-4B20-B460-0BEDC302C02C}</Project>
|
||||
<Name>Spring.Aop.2010</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Spring.Core\Spring.Core.2010.csproj">
|
||||
<Project>{710961A3-0DF4-49E4-A26E-F5B9C044AC84}</Project>
|
||||
<Name>Spring.Core.2010</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Spring.Data\Spring.Data.2010.csproj">
|
||||
<Project>{AE00E5AB-C39A-436F-86D2-33BFE33E2E40}</Project>
|
||||
<Name>Spring.Data.2010</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BootstrapperPackage Include=".NETFramework,Version=v4.0">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>Microsoft .NET Framework 4 %28x86 and x64%29</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>Windows Installer 3.1</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="packages.config" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
</Project>
|
||||
@@ -1,64 +1,62 @@
|
||||
<?xml version="1.0" ?>
|
||||
<project name="Spring.Data.NHibernate32" default="build" xmlns="http://nant.sf.net/schemas/nant.xsd">
|
||||
<!--
|
||||
Required properties:
|
||||
* current.bin.dir - (path) root level to build to
|
||||
* current.build.debug - (true|false) debug build?
|
||||
* current.build.defines.csc - framework-specific build defines for C# compiler
|
||||
-->
|
||||
<target name="build">
|
||||
|
||||
<echo message="${nh32.lib.dir}" />
|
||||
<copy todir="${current.bin.dir}" overwrite="true">
|
||||
<fileset basedir="${nh32.lib.dir}">
|
||||
<include name="**/*.dll" />
|
||||
</fileset>
|
||||
</copy>
|
||||
<echo message="${iesi32.lib.dir}" />
|
||||
<copy todir="${current.bin.dir}" overwrite="true">
|
||||
<fileset basedir="${iesi32.lib.dir}">
|
||||
<include name="**/*.dll" />
|
||||
</fileset>
|
||||
</copy>
|
||||
|
||||
|
||||
<!-- build Spring.Data.NHibernate32 -->
|
||||
<csc target="library" define="${current.build.defines.csc}"
|
||||
warnaserror="true"
|
||||
optimize="${build.optimize}"
|
||||
debug="${current.build.debug}"
|
||||
output="${current.bin.dir}/${project::get-name()}.dll"
|
||||
doc="${current.bin.dir}/${project::get-name()}.xml"
|
||||
nostdlib="true"
|
||||
noconfig="true"
|
||||
>
|
||||
<arg line="${compiler.args}"/>
|
||||
<nowarn>
|
||||
<warning number="${nowarn.numbers.test},0169,0618" />
|
||||
<warning number="0219" if="${nant.settings.currentframework=='mono-2.0'}"/>
|
||||
</nowarn>
|
||||
<sources failonempty="true">
|
||||
<include name="**/*.cs" />
|
||||
<include name="../Spring.Data.NHibernate/Data/**/*.cs" />
|
||||
<include name="../GenCommonAssemblyInfo.cs" />
|
||||
</sources>
|
||||
<references>
|
||||
<include name="mscorlib.dll"/>
|
||||
<include name="Microsoft.CSharp.dll"/>
|
||||
<include name="System.dll"/>
|
||||
<include name="System.Core.dll"/>
|
||||
<include name="System.Configuration.dll"/>
|
||||
<include name="System.Data.dll" />
|
||||
<include name="System.Transactions.dll" />
|
||||
<include name="System.Web.dll" />
|
||||
<include name="System.Xml.dll" />
|
||||
<include name="System.EnterpriseServices.dll" />
|
||||
<include name="${current.bin.dir}/*NHibernate.dll" />
|
||||
<include name="${current.bin.dir}/*.dll" />
|
||||
<exclude name="${current.bin.dir}/Spring.Data.NHibernate*.dll" />
|
||||
<exclude name="${current.bin.dir}/Spring.Data.NHibernate*.*.dll" />
|
||||
<exclude name="${current.bin.dir}/CloverRuntime.dll" />
|
||||
</references>
|
||||
</csc>
|
||||
</target>
|
||||
</project>
|
||||
<?xml version="1.0" ?>
|
||||
<project name="Spring.Data.NHibernate4" default="build" xmlns="http://nant.sf.net/schemas/nant.xsd">
|
||||
<!--
|
||||
Required properties:
|
||||
* current.bin.dir - (path) root level to build to
|
||||
* current.build.debug - (true|false) debug build?
|
||||
* current.build.defines.csc - framework-specific build defines for C# compiler
|
||||
-->
|
||||
<target name="build">
|
||||
|
||||
<echo message="${nh4.lib.dir}" />
|
||||
<copy todir="${current.bin.dir}" overwrite="true">
|
||||
<fileset basedir="${nh4.lib.dir}">
|
||||
<include name="**/*.dll" />
|
||||
</fileset>
|
||||
</copy>
|
||||
<echo message="${iesi4.lib.dir}" />
|
||||
<copy todir="${current.bin.dir}" overwrite="true">
|
||||
<fileset basedir="${iesi4.lib.dir}">
|
||||
<include name="**/*.dll" />
|
||||
</fileset>
|
||||
</copy>
|
||||
|
||||
<!-- build Spring.Data.NHibernate4 -->
|
||||
<csc target="library" define="${current.build.defines.csc},NH_4_0"
|
||||
warnaserror="true"
|
||||
optimize="${build.optimize}"
|
||||
debug="${current.build.debug}"
|
||||
output="${current.bin.dir}/${project::get-name()}.dll"
|
||||
doc="${current.bin.dir}/${project::get-name()}.xml"
|
||||
nostdlib="true"
|
||||
noconfig="true"
|
||||
>
|
||||
<arg line="${compiler.args}"/>
|
||||
<nowarn>
|
||||
<warning number="${nowarn.numbers},0169,0618" />
|
||||
<warning number="0219" if="${nant.settings.currentframework=='mono-2.0'}"/>
|
||||
</nowarn>
|
||||
<sources failonempty="true">
|
||||
<include name="**/*.cs" />
|
||||
<include name="../Spring.Data.NHibernate/Data/**/*.cs" />
|
||||
<include name="../GenCommonAssemblyInfo.cs" />
|
||||
</sources>
|
||||
<references>
|
||||
<include name="mscorlib.dll"/>
|
||||
<include name="Microsoft.CSharp.dll"/>
|
||||
<include name="System.dll"/>
|
||||
<include name="System.Core.dll"/>
|
||||
<include name="System.Configuration.dll"/>
|
||||
<include name="System.Data.dll" />
|
||||
<include name="System.Transactions.dll" />
|
||||
<include name="System.Web.dll" />
|
||||
<include name="System.Xml.dll" />
|
||||
<include name="System.EnterpriseServices.dll" />
|
||||
<include name="${current.bin.dir}/*.dll" />
|
||||
<exclude name="${current.bin.dir}/Spring.Data.NHibernate*.dll" />
|
||||
<exclude name="${current.bin.dir}/*NHibernate3*.*.dll" />
|
||||
<exclude name="${current.bin.dir}/CloverRuntime.dll" />
|
||||
</references>
|
||||
</csc>
|
||||
</target>
|
||||
</project>
|
||||
@@ -0,0 +1,31 @@
|
||||
<?xml version="1.0"?>
|
||||
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
|
||||
<metadata>
|
||||
<id>Spring.Data.NHibernate4</id>
|
||||
<title>Spring.Net NHibernate 4 support</title>
|
||||
<projectUrl>http://www.springframework.net/</projectUrl>
|
||||
<licenseUrl>http://www.springframework.net/license.html</licenseUrl>
|
||||
<iconUrl>http://springframework.net/images/SpringSource_Leaves32x32.png</iconUrl>
|
||||
<version>0.0.0</version>
|
||||
<!-- this value is a placeholder replaced by build script -->
|
||||
<authors>SpringSource</authors>
|
||||
<description>Interfaces and classes that provide NHibernate 4 support in Spring.Net</description>
|
||||
<summary>Interfaces and classes that provide NHibernate 4 support in Spring.Net</summary>
|
||||
<language>en-US</language>
|
||||
<dependencies>
|
||||
<dependency id="Common.Logging" version="1.2.0" />
|
||||
<dependency id="NHibernate" version="4.0.0" />
|
||||
<dependency id="Spring.Aop" version="2.0.0-RC1" />
|
||||
<dependency id="Spring.Core" version="2.0.0-RC1" />
|
||||
<dependency id="Spring.Data" version="2.0.0-RC1" />
|
||||
</dependencies>
|
||||
</metadata>
|
||||
<files>
|
||||
<file src="build\net\4.0\release\Spring.Data.NHibernate4.dll" target="lib\net40" />
|
||||
<file src="build\net\4.0\release\Spring.Data.NHibernate4.pdb" target="lib\net40" />
|
||||
<file src="build\net\4.0\release\Spring.Data.NHibernate4.xml" target="lib\net40" />
|
||||
<file src="build\net\4.5\release\Spring.Data.NHibernate4.dll" target="lib\net45" />
|
||||
<file src="build\net\4.5\release\Spring.Data.NHibernate4.pdb" target="lib\net45" />
|
||||
<file src="build\net\4.5\release\Spring.Data.NHibernate4.xml" target="lib\net45" />
|
||||
</files>
|
||||
</package>
|
||||
6660
src/Spring/Spring.Data.NHibernate4/Spring.Data.NHibernate4.xml
Normal file
6660
src/Spring/Spring.Data.NHibernate4/Spring.Data.NHibernate4.xml
Normal file
File diff suppressed because it is too large
Load Diff
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="Common.Logging" version="2.1.2" targetFramework="net40" />
|
||||
<package id="Iesi.Collections" version="3.2.0.4000" targetFramework="net40" />
|
||||
<package id="NHibernate" version="3.2.0.4000" targetFramework="net40" />
|
||||
<package id="Iesi.Collections" version="4.0.0.4000" targetFramework="net40" />
|
||||
<package id="NHibernate" version="4.0.0.4000" targetFramework="net40" />
|
||||
</packages>
|
||||
@@ -83,7 +83,7 @@ namespace Spring.Testing.Microsoft
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <p>The default implementation populates protected variables if the
|
||||
/// <see cref="AbstractTransactionalDbProviderSpringContextTests.PopulateProtectedVariables"/> property is set, else
|
||||
/// <see cref="AbstractDependencyInjectionSpringContextTests.PopulateProtectedVariables"/> property is set, else
|
||||
/// uses autowiring if autowiring is switched on (which it is by default).</p>
|
||||
/// <p>You can certainly override this method if you want to totally control
|
||||
/// how dependencies are injected into 'this' instance.</p>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: AssemblyTitle("Spring.Web.Conversation.NHibernate33. NHibernate 3.3 support.")]
|
||||
[assembly: AssemblyTitle("Spring.Web.Conversation.NHibernate3. NHibernate 3.3 support.")]
|
||||
[assembly: AssemblyDescription("Interfaces and classes that provide 'Long-Running Conversation' support in Spring.Net")]
|
||||
@@ -1,21 +1,21 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
|
||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>9.0.30729</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{64400FF8-2E9F-4809-B5F4-0C7EB8ABFF87}</ProjectGuid>
|
||||
<ProjectGuid>{CF375928-B6D5-485C-B04D-2BC41D9DBF1E}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>Spring</RootNamespace>
|
||||
<AssemblyName>Spring.Web.Conversation.NHibernate32</AssemblyName>
|
||||
<AssemblyName>Spring.Web.Conversation.NHibernate33</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<FileUpgradeFlags>
|
||||
</FileUpgradeFlags>
|
||||
<OldToolsVersion>3.5</OldToolsVersion>
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
<UpgradeBackupLocation>
|
||||
</UpgradeBackupLocation>
|
||||
<UpgradeBackupLocation />
|
||||
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\..\</SolutionDir>
|
||||
<RestorePackages>true</RestorePackages>
|
||||
</PropertyGroup>
|
||||
@@ -23,17 +23,17 @@
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>..\..\..\build\VS.Net.2010\Spring.Web.Conversation.NHibernate32\Debug\</OutputPath>
|
||||
<OutputPath>..\..\..\build\VS.Net.2010\Spring.Web.Conversation.NHibernate33\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<DocumentationFile>Spring.Web.Conversation.NHibernate32.xml</DocumentationFile>
|
||||
<DocumentationFile>Spring.Web.Conversation.NHibernate33.XML</DocumentationFile>
|
||||
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>..\..\..\build\VS.Net.2010\Spring.Web.Conversation.NHibernate32\Release\</OutputPath>
|
||||
<OutputPath>..\..\..\build\VS.Net.2010\Spring.Web.Conversation.NHibernate33\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
@@ -45,11 +45,11 @@
|
||||
</Reference>
|
||||
<Reference Include="Iesi.Collections, Version=1.0.1.0, Culture=neutral, PublicKeyToken=aa95f207798dfdb4, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\..\packages\Iesi.Collections.3.2.0.4000\lib\Net35\Iesi.Collections.dll</HintPath>
|
||||
<HintPath>..\..\..\packages\Iesi.Collections.3.3.3.4001\lib\Net35\Iesi.Collections.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="NHibernate, Version=3.2.0.4000, Culture=neutral, PublicKeyToken=aa95f207798dfdb4, processorArchitecture=MSIL">
|
||||
<Reference Include="NHibernate, Version=3.3.1.4000, Culture=neutral, PublicKeyToken=aa95f207798dfdb4, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\..\packages\NHibernate.3.2.0.4000\lib\Net35\NHibernate.dll</HintPath>
|
||||
<HintPath>..\..\..\packages\NHibernate.3.3.3.4001\lib\Net35\NHibernate.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
@@ -71,9 +71,6 @@
|
||||
<Compile Include="Web\Conversation\WebConversationSpringState.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="..\..\..\build-support\tools\nant\schema\nant.xsd">
|
||||
<Link>nant.xsd</Link>
|
||||
</None>
|
||||
<None Include="app.config" />
|
||||
<None Include="packages.config" />
|
||||
</ItemGroup>
|
||||
@@ -82,9 +79,9 @@
|
||||
<Project>{710961A3-0DF4-49E4-A26E-F5B9C044AC84}</Project>
|
||||
<Name>Spring.Core.2010</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Spring.Data.NHibernate32\Spring.Data.NHibernate32.2010.csproj">
|
||||
<Project>{1C8E0481-A70D-445E-AB4D-4A963CF7DC83}</Project>
|
||||
<Name>Spring.Data.NHibernate32.2010</Name>
|
||||
<ProjectReference Include="..\Spring.Data.NHibernate3\Spring.Data.NHibernate3.2010.csproj">
|
||||
<Project>{d546efb7-9f6c-4c11-b2f8-b85fad135399}</Project>
|
||||
<Name>Spring.Data.NHibernate3.2010</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Spring.Data\Spring.Data.2010.csproj">
|
||||
<Project>{AE00E5AB-C39A-436F-86D2-33BFE33E2E40}</Project>
|
||||
@@ -94,7 +91,7 @@
|
||||
<ItemGroup>
|
||||
<Folder Include="Properties\" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
@@ -0,0 +1,953 @@
|
||||
<?xml version="1.0"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>Spring.Web.Conversation.NHibernate33</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:Spring.Data.NHibernate.Support.SessionPerConversationScope">
|
||||
<summary>
|
||||
Based on <see cref="T:Spring.Data.NHibernate.Support.SessionScope"/>
|
||||
for support of 'session-per-conversation' pattern.
|
||||
</summary>
|
||||
<author>Hailton de Castro</author>
|
||||
</member>
|
||||
<member name="F:Spring.Data.NHibernate.Support.SessionPerConversationScope.log">
|
||||
<summary>
|
||||
The logging instance.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Spring.Data.NHibernate.Support.SessionPerConversationScope.#ctor">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Spring.Data.NHibernate.Support.SessionPerConversationScopeSettings"/> class.
|
||||
Uses default values for <see cref="T:Spring.Data.NHibernate.Support.SessionPerConversationScopeSettings"/>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Spring.Data.NHibernate.Support.SessionPerConversationScope.#ctor(NHibernate.IInterceptor,NHibernate.FlushMode)">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Spring.Data.NHibernate.Support.SessionPerConversationScopeSettings"/> class.
|
||||
</summary>
|
||||
<param name="entityInterceptor">Specify the <see cref="T:NHibernate.IInterceptor"/> to be set on each session provided by this <see cref="T:Spring.Data.NHibernate.Support.SessionPerConversationScope"/> instance.</param>
|
||||
<param name="defaultFlushMode">Specify the flushmode to be applied on each session provided by this <see cref="T:Spring.Data.NHibernate.Support.SessionPerConversationScope"/> instance.
|
||||
</param>
|
||||
</member>
|
||||
<member name="M:Spring.Data.NHibernate.Support.SessionPerConversationScope.#ctor(Spring.Data.NHibernate.Support.SessionPerConversationScopeSettings)">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Spring.Data.NHibernate.Support.SessionScope"/> class.
|
||||
</summary>
|
||||
<param name="settings">An <see cref="T:Spring.Data.NHibernate.Support.SessionPerConversationScopeSettings"/> instance holding the scope configuration</param>
|
||||
</member>
|
||||
<member name="M:Spring.Data.NHibernate.Support.SessionPerConversationScope.SetOpen(System.Boolean)">
|
||||
<summary>
|
||||
Sets a flag, whether this scope is in "open" state on the current logical thread.
|
||||
</summary>
|
||||
<param name="isOpen"></param>
|
||||
</member>
|
||||
<member name="M:Spring.Data.NHibernate.Support.SessionPerConversationScope.Dispose">
|
||||
<summary>
|
||||
NOOP.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Spring.Data.NHibernate.Support.SessionPerConversationScope.Open(Spring.Web.Conversation.IConversationState,System.Collections.Generic.ICollection{Spring.Web.Conversation.IConversationState})">
|
||||
<summary>
|
||||
Open a new session or reconect the
|
||||
<see cref="P:Spring.Web.Conversation.IConversationState.RootSessionPerConversation"/> in <paramref name="activeConversation"/>.
|
||||
Participating in an existing session registed with <see cref="T:Spring.Transaction.Support.TransactionSynchronizationManager"/>
|
||||
is not alowed.
|
||||
</summary>
|
||||
<param name="activeConversation"></param>
|
||||
<param name="allManagedConversation"></param>
|
||||
<exception cref="T:System.InvalidOperationException">
|
||||
<list type="bullet">
|
||||
<item>If there is another conversation with a <see cref="T:NHibernate.ISession"/> with opened
|
||||
<see cref="T:System.Data.IDbConnection"/>.</item>
|
||||
<item>If attempting to participate in an existing NHibernate <see cref="T:NHibernate.ISessionFactory"/>
|
||||
managed by <see cref="T:Spring.Transaction.Support.TransactionSynchronizationManager"/>.
|
||||
</item>
|
||||
</list>
|
||||
</exception>
|
||||
</member>
|
||||
<member name="M:Spring.Data.NHibernate.Support.SessionPerConversationScope.Close(NHibernate.ISessionFactory,System.Collections.Generic.ICollection{Spring.Web.Conversation.IConversationState})">
|
||||
<summary>
|
||||
Close the current view's session and unregisters
|
||||
from <see cref="T:Spring.Transaction.Support.TransactionSynchronizationManager"/>.
|
||||
</summary>
|
||||
<param name="sessionFactory">The session factory that <see cref="T:Spring.Web.Conversation.IConversationState"/> on <paramref name="allManagedConversation"/> use</param>
|
||||
<param name="allManagedConversation">A list of conversations which the session can be closed or disconnected</param>
|
||||
<exception cref="T:System.InvalidOperationException">
|
||||
<list type="bullet">
|
||||
<item>If start/resume a conversation from a
|
||||
<see cref="T:Spring.Web.Conversation.IConversationManager"/> when exists a different <see cref="T:Spring.Web.Conversation.IConversationManager"/>
|
||||
with open <see cref="T:NHibernate.ISession"/> registered on <see cref="T:Spring.Transaction.Support.TransactionSynchronizationManager"/>
|
||||
</item>
|
||||
<item>If the holder on <see cref="T:Spring.Transaction.Support.TransactionSynchronizationManager"/>, is not a <see cref="T:Spring.Data.NHibernate.Support.SessionPerConversationScope.LazySessionPerConversationHolder"/>.</item>
|
||||
</list>
|
||||
</exception>
|
||||
</member>
|
||||
<member name="P:Spring.Data.NHibernate.Support.SessionPerConversationScope.DefaultFlushMode">
|
||||
<summary>
|
||||
Gets the flushmode to be applied on each newly created session.
|
||||
</summary>
|
||||
<remarks>
|
||||
This property defaults to <see cref="F:NHibernate.FlushMode.Never"/> to ensure that modifying objects outside the boundaries
|
||||
of a transaction will not be persisted. It is recommended to not change this value but wrap any modifying operation
|
||||
within a transaction.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="P:Spring.Data.NHibernate.Support.SessionPerConversationScope.EntityInterceptor">
|
||||
<summary>
|
||||
Get the configured EntityInterceptor
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Data.NHibernate.Support.SessionPerConversationScope.OpenerConversationId">
|
||||
<summary>
|
||||
Id for conversation that open the Session.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Data.NHibernate.Support.SessionPerConversationScope.IsOpen">
|
||||
<summary>
|
||||
Gets a flag, whether this scope is in "open" state on the current logical thread.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Spring.Data.NHibernate.Support.SessionPerConversationScope.LazySessionPerConversationHolder">
|
||||
<summary>
|
||||
This sessionHolder creates a session for the active conversation only if it is
|
||||
needed (<see cref="M:Spring.Web.Conversation.IConversationState.StartResumeConversation"/>).
|
||||
</summary>
|
||||
<remarks>
|
||||
Although a NHibernateSession defers creation of db-connections until they are really
|
||||
needed, instantiation a session is still more expensive than using LazySessionHolder.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="M:Spring.Data.NHibernate.Support.SessionPerConversationScope.LazySessionPerConversationHolder.#ctor(Spring.Data.NHibernate.Support.SessionPerConversationScope,Spring.Web.Conversation.IConversationState,System.Collections.Generic.ICollection{Spring.Web.Conversation.IConversationState})">
|
||||
<summary>
|
||||
Initialize a new instance.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Spring.Data.NHibernate.Support.SessionPerConversationScope.LazySessionPerConversationHolder.EnsureInitialized">
|
||||
<summary>
|
||||
Create a new session on demand
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Spring.Data.NHibernate.Support.SessionPerConversationScopeSettings">
|
||||
<summary>
|
||||
Setting for <see cref="T:Spring.Data.NHibernate.Support.SessionPerConversationScope"/>
|
||||
</summary>
|
||||
<author>Hailton de Castro</author>
|
||||
</member>
|
||||
<member name="F:Spring.Data.NHibernate.Support.SessionPerConversationScopeSettings.FLUSHMODE_DEFAULT">
|
||||
<summary>
|
||||
Default value for <see cref="P:Spring.Data.NHibernate.Support.SessionPerConversationScopeSettings.DefaultFlushMode"/> property.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Spring.Data.NHibernate.Support.SessionPerConversationScopeSettings.#ctor">
|
||||
<summary>
|
||||
Initialize a new instance of <see cref="T:Spring.Data.NHibernate.Support.SessionScopeSettings"/> with default values.
|
||||
</summary>
|
||||
<remarks>
|
||||
Calling this constructor from your derived class leaves <see cref="P:Spring.Data.NHibernate.Support.SessionPerConversationScopeSettings.EntityInterceptor"/>
|
||||
uninitialized. See <see cref="M:Spring.Data.NHibernate.Support.SessionPerConversationScopeSettings.ResolveEntityInterceptor"/> for more.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="M:Spring.Data.NHibernate.Support.SessionPerConversationScopeSettings.#ctor(NHibernate.IInterceptor,NHibernate.FlushMode)">
|
||||
<summary>
|
||||
Initialize a new instance of <see cref="T:Spring.Data.NHibernate.Support.SessionPerConversationScopeSettings"/> with the given values and references.
|
||||
</summary>
|
||||
<param name="entityInterceptor">
|
||||
Specify the <see cref="T:NHibernate.IInterceptor"/> to be set on each session provided by the <see cref="T:Spring.Data.NHibernate.Support.SessionPerConversationScope"/> instance.
|
||||
</param>
|
||||
<param name="defaultFlushMode">
|
||||
Specify the flushmode to be applied on each session provided by the <see cref="T:Spring.Data.NHibernate.Support.SessionScope"/> instance.
|
||||
</param>
|
||||
<remarks>
|
||||
Calling this constructor marks all properties initialized.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="M:Spring.Data.NHibernate.Support.SessionPerConversationScopeSettings.ResolveEntityInterceptor">
|
||||
<summary>
|
||||
Override this method to resolve an <see cref="T:NHibernate.IInterceptor"/> instance according to your chosen strategy.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Data.NHibernate.Support.SessionPerConversationScopeSettings.EntityInterceptor">
|
||||
<summary>
|
||||
Gets the configured <see cref="T:NHibernate.IInterceptor"/> instance to be used.
|
||||
</summary>
|
||||
<remarks>
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="P:Spring.Data.NHibernate.Support.SessionPerConversationScopeSettings.DefaultFlushMode">
|
||||
<summary>
|
||||
Gets or Sets the flushmode to be applied on each newly created session.
|
||||
</summary>
|
||||
<remarks>
|
||||
This property defaults to <see cref="F:NHibernate.FlushMode.Never"/> to ensure that modifying objects outside the boundaries
|
||||
of a transaction will not be persisted. It is recommended to not change this value but wrap any modifying operation
|
||||
within a transaction.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="T:Spring.Web.Conversation.HttpModule.ConversationModule">
|
||||
<summary>
|
||||
HttpModule for ending Conversations with Timeout exceeded.
|
||||
</summary>
|
||||
<author>Hailton de Castro</author>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.HttpModule.ConversationModule.Init(System.Web.HttpApplication)">
|
||||
<summary>
|
||||
Add PostRequestHandlerExecute event to clear conversations with timeout exceeded.
|
||||
</summary>
|
||||
<param name="context"></param>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.HttpModule.ConversationModule.Dispose">
|
||||
<summary>
|
||||
Disposes of the resources (other than memory) used by the module that implements <see cref="T:System.Web.IHttpModule"/>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.HttpModule.ConversationModule.page_Unload(System.Object,System.EventArgs)">
|
||||
<summary>
|
||||
Handles the Unload event of the page control.
|
||||
</summary>
|
||||
<param name="sender">The source of the event.</param>
|
||||
<param name="e">The <see cref="T:System.EventArgs"/> instance containing the event data.</param>
|
||||
<remarks>
|
||||
Necessary for Redirect or Abort for any reason.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.HttpModule.ConversationModule.ConversationManagerNameList">
|
||||
<summary>
|
||||
The Names of the <see cref="T:Spring.Web.Conversation.IConversationManager"/>s in the <see cref="T:Spring.Context.IApplicationContext"/>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.HttpModule.ConversationModule.ApplicationContext">
|
||||
<summary>
|
||||
Sets the <see cref="T:Spring.Context.IApplicationContext"/> that this
|
||||
object runs in.
|
||||
</summary>
|
||||
<value></value>
|
||||
<remarks>
|
||||
<p>
|
||||
Used to obtain the instances of <see cref="T:Spring.Web.Conversation.IConversationManager"/>
|
||||
</p>
|
||||
<p>
|
||||
Invoked after population of normal object properties but before an
|
||||
init callback such as
|
||||
<see cref="T:Spring.Objects.Factory.IInitializingObject"/>'s
|
||||
<see cref="M:Spring.Objects.Factory.IInitializingObject.AfterPropertiesSet"/>
|
||||
or a custom init-method. Invoked after the setting of any
|
||||
<see cref="T:Spring.Context.IResourceLoaderAware"/>'s
|
||||
<see cref="P:Spring.Context.IResourceLoaderAware.ResourceLoader"/>
|
||||
property.
|
||||
</p>
|
||||
</remarks>
|
||||
<exception cref="T:Spring.Context.ApplicationContextException">
|
||||
In the case of application context initialization errors.
|
||||
</exception>
|
||||
<exception cref="T:Spring.Objects.ObjectsException">
|
||||
If thrown by any application context methods.
|
||||
</exception>
|
||||
<exception cref="T:Spring.Objects.Factory.ObjectInitializationException"/>
|
||||
</member>
|
||||
<member name="T:Spring.Web.Conversation.IConversationManager">
|
||||
<summary>
|
||||
manager for Conversations.
|
||||
</summary>
|
||||
<author>Hailton de Castro</author>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.IConversationManager.GetConversationById(System.String)">
|
||||
<summary>
|
||||
Returns the conversation if it is still alive, otherwise it returns null.
|
||||
</summary>
|
||||
<param name="id"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.IConversationManager.EndOnTimeOut">
|
||||
<summary>
|
||||
Ends all conversations with the timeout exceeded.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.IConversationManager.PauseConversations">
|
||||
<summary>
|
||||
Close IDbConnections for <see cref="T:Spring.Web.Conversation.IConversationState"/> that
|
||||
use 'session-per-conversation'. It calls
|
||||
<see cref="M:Spring.Web.Conversation.IConversationState.PauseConversation"/> in all conversations.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.IConversationManager.FreeEnded">
|
||||
<summary>
|
||||
Release the ended conversations And removes them.
|
||||
If the conversation supports 'session-per-conversation', also close the session.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.IConversationManager.AddConversation(Spring.Web.Conversation.IConversationState)">
|
||||
<summary>
|
||||
Add conversation. If <see cref="T:Spring.Web.Conversation.IConversationManager"/> is null
|
||||
it resolves to 'this'.
|
||||
</summary>
|
||||
<param name="conversation"></param>
|
||||
<exception cref="T:System.InvalidOperationException">
|
||||
If <paramref name="conversation"/> already has another manager.
|
||||
</exception>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.IConversationManager.SetActiveConversation(Spring.Web.Conversation.IConversationState)">
|
||||
<summary>
|
||||
Makes the 'root conversation' of <paramref name="conversation"/>
|
||||
the current active conversation and open/reopen the
|
||||
<see cref="P:Spring.Web.Conversation.IConversationState.RootSessionPerConversation"/> if
|
||||
the conversation supports 'session-per-conversation'. Close all
|
||||
the connection for all session before.
|
||||
If <see cref="P:Spring.Web.Conversation.IConversationManager.EndPaused"/> is <c>true</c> will end all
|
||||
paused conversations.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.IConversationManager.ActiveConversation">
|
||||
<summary>
|
||||
Returns the active conversation if exists, otherwise returns null.
|
||||
It depends on <see cref="M:Spring.Web.Conversation.IConversationManager.SetActiveConversation(Spring.Web.Conversation.IConversationState)"/>
|
||||
</summary>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.IConversationManager.SessionFactory">
|
||||
<summary>
|
||||
<para>If this is non-null run pattern 'session-per-conversation'.
|
||||
Must be the same SessionFactory of the managed conversations.
|
||||
</para>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.IConversationManager.EndPaused">
|
||||
<summary>
|
||||
Ends the "paused conversations" in call to <see cref="P:Spring.Web.Conversation.IConversationManager.ActiveConversation"/>.
|
||||
Important: Unexpected behavior may occur if there are nested conversations,
|
||||
as in <see cref="M:Spring.Web.Conversation.IConversationState.StartResumeConversation"/> only the current conversation and its parents
|
||||
are started, the 'conversations children' remain paused, so these will be ended.
|
||||
Defaul value: <c>false</c>.
|
||||
</summary>
|
||||
<remarks>
|
||||
<para>When it is true, "start/resume a conversation" will cause the other to be
|
||||
ended and cleaned up.
|
||||
</para>
|
||||
<para>This is useful to avoid memory leak where there are many conversations.
|
||||
This leak can be very considerable, as the conversation may keep a "NHibernate session"
|
||||
that can contain many objects in its cache from the database queries.
|
||||
</para>
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="T:Spring.Web.Conversation.IConversationState">
|
||||
<summary>
|
||||
Port to conversation. If the object is not found in the current
|
||||
conversation, will be tried on the parent if the parent is
|
||||
not null.
|
||||
</summary>
|
||||
<exception cref="T:System.InvalidOperationException">
|
||||
If <see cref="P:Spring.Web.Conversation.IConversationState.Id"/> is different from spring name for this instance.
|
||||
</exception>
|
||||
<author>Hailton de Castro</author>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.IConversationState.StartResumeConversation">
|
||||
<summary>
|
||||
Starts or resumes the conversation and the <see cref="P:Spring.Web.Conversation.IConversationState.ParentConversation"/>.
|
||||
<para>If <see cref="P:Spring.Web.Conversation.IConversationState.RootSessionPerConversation"/> is not null, so
|
||||
<see cref="M:NHibernate.ISessionFactory.GetCurrentSession"/> is called to
|
||||
Raise SessionHolder for make the reconnection.
|
||||
</para>
|
||||
<para>Make <see cref="P:Spring.Web.Conversation.IConversationState.IsNew"/> return false.
|
||||
</para>
|
||||
<para>Update the <see cref="P:Spring.Web.Conversation.IConversationState.LastAccess"/>.
|
||||
</para>
|
||||
</summary>
|
||||
<exception cref="T:System.InvalidOperationException">
|
||||
<list type="bullet">
|
||||
<item>If this conversation is ended.
|
||||
</item>
|
||||
<item>If <see cref="P:Spring.Web.Conversation.IConversationState.RootSessionPerConversation"/> is not null and
|
||||
<see cref="P:Spring.Web.Conversation.IConversationState.RootSessionPerConversation"/> different from
|
||||
<see cref="M:NHibernate.ISessionFactory.GetCurrentSession"/>
|
||||
</item>
|
||||
</list>
|
||||
</exception>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.IConversationState.EndConversation">
|
||||
<summary>
|
||||
Ends the conversation. End each of the 'inner conversations' in
|
||||
<see cref="P:Spring.Web.Conversation.IConversationState.InnerConversations"/>. Returns false if the
|
||||
conversation and all <see cref="T:Spring.Web.Conversation.IConversationState"/> of
|
||||
<see cref="P:Spring.Web.Conversation.IConversationState.InnerConversations"/> has already been ended.
|
||||
</summary>
|
||||
<returns></returns>
|
||||
<exception cref="T:System.InvalidOperationException">
|
||||
<list type="bullet">
|
||||
<item>If <see cref="P:System.Web.HttpContext.Current"/>.
|
||||
<see cref="T:System.Web.SessionState.HttpSessionState">Session</see>["spring.objects"]
|
||||
is null.
|
||||
</item>
|
||||
<item>The 'spring session scopes' are not located in the key
|
||||
'spring.objects' of HttpSessionState.
|
||||
</item>
|
||||
</list>
|
||||
</exception>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.IConversationState.PauseConversation">
|
||||
<summary>
|
||||
Starts or resumes the conversation and each 'inner conversation' in
|
||||
<see cref="P:Spring.Web.Conversation.IConversationState.InnerConversations"/>.
|
||||
It is not about 'Session-per-conversation' because it is done by
|
||||
<see cref="T:Spring.Web.Conversation.IConversationManager"/>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.IConversationState.Id">
|
||||
<summary>
|
||||
Conversation id.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.IConversationState.IsNew">
|
||||
<summary>
|
||||
Return true until <see cref="M:Spring.Web.Conversation.IConversationState.StartResumeConversation"/> is called.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.IConversationState.Ended">
|
||||
<summary>
|
||||
Return true if this conversation is ended.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.IConversationState.InnerConversations">
|
||||
<summary>
|
||||
Inner conversation. After added if the <see cref="P:Spring.Web.Conversation.IConversationState.ParentConversation"/>
|
||||
is null it will resolve to 'this'.
|
||||
</summary>
|
||||
<exception cref="T:System.InvalidOperationException">at
|
||||
<see cref="T:System.Collections.Generic.ICollection`1.Add(T)"/>,
|
||||
<see cref="T:System.Collections.Generic.IList`1.this[int]"/>,
|
||||
<see cref="T:System.Collections.Generic.IList`1.Insert(int, T)"/>
|
||||
if Circular Dependency is detected.</exception>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.IConversationState.ParentConversation">
|
||||
<summary>
|
||||
Conversation parent.
|
||||
</summary>
|
||||
<exception cref="T:System.InvalidOperationException">
|
||||
<list type="bullet">
|
||||
<item>If this conversation already has a different parent.
|
||||
</item>
|
||||
<item>If this Conversation is not new.
|
||||
</item>
|
||||
<item>If Circular Dependency is detected.
|
||||
</item>
|
||||
<item>The Parent conversation is not new.
|
||||
</item>
|
||||
</list>
|
||||
</exception>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.IConversationState.TimeOut">
|
||||
<summary>
|
||||
TimeOut for the conversation in milliseconds.
|
||||
If <c>0</c> TimeOut will be ignored.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.IConversationState.LastAccess">
|
||||
<summary>
|
||||
Last acces for a value into this Conversation or Inner Conversation.
|
||||
Reset to DateTime.Now each time <see cref="M:Spring.Web.Conversation.IConversationState.StartResumeConversation"/>
|
||||
is called.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.IConversationState.ConversationManager">
|
||||
<summary>
|
||||
Conversation Manager. When this is setted if
|
||||
<see cref="M:Spring.Web.Conversation.IConversationManager.GetConversationById(System.String)"/>
|
||||
returns null so AddConversation is called.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.IConversationState.RootSessionPerConversation">
|
||||
<summary>
|
||||
<para><see cref="T:NHibernate.ISession"/> that is stored in the root conversation.
|
||||
</para>
|
||||
<para>
|
||||
<see cref="P:Spring.Web.Conversation.IConversationState.ConversationManager"/> must support 'session-per-conversation'.
|
||||
</para>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.IConversationState.SessionFactory">
|
||||
<summary>
|
||||
<para>If this is non-null run pattern 'session-per-conversation'.
|
||||
It also depends on <see cref="P:Spring.Web.Conversation.IConversationState.DbProvider"/> and <see cref="P:Spring.Web.Conversation.IConversationState.ConversationManager"/>.
|
||||
<see cref="P:Spring.Web.Conversation.IConversationState.ConversationManager"/> must support ConversationManager.
|
||||
</para>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.IConversationState.DbProvider">
|
||||
<summary>
|
||||
<para>If this is non-null run pattern 'session-per-conversation'.
|
||||
It also depends on <see cref="P:Spring.Web.Conversation.IConversationState.SessionFactory"/> and <see cref="P:Spring.Web.Conversation.IConversationState.ConversationManager"/>.
|
||||
<see cref="P:Spring.Web.Conversation.IConversationState.ConversationManager"/> must support ConversationManager.
|
||||
</para>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.IConversationState.IsPaused">
|
||||
<summary>
|
||||
Indicates that the conversation is paused.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Spring.Web.Conversation.InnerConversationList">
|
||||
<summary>
|
||||
List that make validation for Circular Dependency for <see cref="T:Spring.Web.Conversation.IConversationState"/>
|
||||
</summary>
|
||||
<author>Hailton de Castro</author>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.InnerConversationList.#ctor(Spring.Web.Conversation.IConversationState)">
|
||||
<summary>
|
||||
Contructor.
|
||||
</summary>
|
||||
<param name="conversationOwner">The <see cref="T:Spring.Web.Conversation.IConversationState"/> that owns this <see cref="T:Spring.Web.Conversation.InnerConversationList"/>.</param>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.InnerConversationList.PreAddProcessor(Spring.Web.Conversation.IConversationState)">
|
||||
<summary>
|
||||
Common Helper to be run before insert.
|
||||
</summary>
|
||||
<param name="itemAdded"></param>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.InnerConversationList.PostAddProcessor(Spring.Web.Conversation.IConversationState)">
|
||||
<summary>
|
||||
Common Helper to be run after insert.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.InnerConversationList.IndexOf(Spring.Web.Conversation.IConversationState)">
|
||||
<summary>
|
||||
<see cref="T:IList`1"/>
|
||||
</summary>
|
||||
<param name="item"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.InnerConversationList.Insert(System.Int32,Spring.Web.Conversation.IConversationState)">
|
||||
<summary>
|
||||
<see cref="T:IList`1"/>
|
||||
</summary>
|
||||
<param name="index"></param>
|
||||
<param name="item"></param>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.InnerConversationList.RemoveAt(System.Int32)">
|
||||
<summary>
|
||||
<see cref="T:IList`1"/>
|
||||
</summary>
|
||||
<param name="index"></param>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.InnerConversationList.Add(Spring.Web.Conversation.IConversationState)">
|
||||
<summary>
|
||||
<see cref="T:ICollection`1"/>
|
||||
</summary>
|
||||
<param name="item"></param>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.InnerConversationList.Clear">
|
||||
<summary>
|
||||
<see cref="T:ICollection`1"/>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.InnerConversationList.Contains(Spring.Web.Conversation.IConversationState)">
|
||||
<summary>
|
||||
<see cref="T:ICollection`1"/>
|
||||
</summary>
|
||||
<param name="item"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.InnerConversationList.CopyTo(Spring.Web.Conversation.IConversationState[],System.Int32)">
|
||||
<summary>
|
||||
<see cref="T:ICollection`1"/>
|
||||
</summary>
|
||||
<param name="array"></param>
|
||||
<param name="arrayIndex"></param>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.InnerConversationList.Remove(Spring.Web.Conversation.IConversationState)">
|
||||
<summary>
|
||||
<see cref="T:ICollection`1"/>
|
||||
</summary>
|
||||
<param name="item"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.InnerConversationList.GetEnumerator">
|
||||
<summary>
|
||||
<see cref="T:IEnumerable`1"/>
|
||||
</summary>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.InnerConversationList.System#Collections#IEnumerable#GetEnumerator">
|
||||
<summary>
|
||||
<see cref="T:System.Collections.IEnumerable"/>
|
||||
</summary>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.InnerConversationList.Add(System.Object)">
|
||||
<summary>
|
||||
<see cref="T:IList`1"/>
|
||||
</summary>
|
||||
<param name="value"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.InnerConversationList.Contains(System.Object)">
|
||||
<summary>
|
||||
<see cref="T:IList`1"/>
|
||||
</summary>
|
||||
<param name="value"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.InnerConversationList.IndexOf(System.Object)">
|
||||
<summary>
|
||||
<see cref="T:IList`1"/>
|
||||
</summary>
|
||||
<param name="value"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.InnerConversationList.Insert(System.Int32,System.Object)">
|
||||
<summary>
|
||||
<see cref="T:IList`1"/>
|
||||
</summary>
|
||||
<param name="index"></param>
|
||||
<param name="value"></param>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.InnerConversationList.Remove(System.Object)">
|
||||
<summary>
|
||||
<see cref="T:IList`1"/>
|
||||
</summary>
|
||||
<param name="value"></param>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.InnerConversationList.CopyTo(System.Array,System.Int32)">
|
||||
<summary>
|
||||
<see cref="T:System.Collections.ICollection"/>
|
||||
</summary>
|
||||
<param name="array"></param>
|
||||
<param name="index"></param>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.InnerConversationList.Item(System.Int32)">
|
||||
<summary>
|
||||
<see cref="T:IList`1"/>
|
||||
</summary>
|
||||
<param name="index"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.InnerConversationList.Count">
|
||||
<summary>
|
||||
<see cref="T:ICollection`1"/>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.InnerConversationList.IsReadOnly">
|
||||
<summary>
|
||||
<see cref="T:ICollection`1"/>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.InnerConversationList.IsFixedSize">
|
||||
<summary>
|
||||
<see cref="T:IList`1"/>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.InnerConversationList.System#Collections#IList#Item(System.Int32)">
|
||||
<summary>
|
||||
<see cref="T:IList`1"/>
|
||||
</summary>
|
||||
<param name="index"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.InnerConversationList.IsSynchronized">
|
||||
<summary>
|
||||
<see cref="T:System.Collections.ICollection"/>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.InnerConversationList.SyncRoot">
|
||||
<summary>
|
||||
<see cref="T:System.Collections.ICollection"/>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Spring.Web.Conversation.WebConversationManager">
|
||||
<summary>
|
||||
This was made to stay under session scope.
|
||||
</summary>
|
||||
<author>Hailton de Castro</author>
|
||||
</member>
|
||||
<member name="F:Spring.Web.Conversation.WebConversationManager.mutexEditDic">
|
||||
<summary>
|
||||
Semaphore to synchronize writes to the dictionary.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.WebConversationManager.GetConversationById(System.String)">
|
||||
<summary>
|
||||
<see cref="T:Spring.Web.Conversation.IConversationManager"/>
|
||||
</summary>
|
||||
<param name="id"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.WebConversationManager.EndOnTimeOut">
|
||||
<summary>
|
||||
<see cref="T:Spring.Web.Conversation.IConversationManager"/>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.WebConversationManager.PauseConversations">
|
||||
<summary>
|
||||
<see cref="T:Spring.Web.Conversation.IConversationManager"/>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.WebConversationManager.FreeEnded">
|
||||
<summary>
|
||||
<see cref="T:Spring.Web.Conversation.IConversationManager"/>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.WebConversationManager.AddConversation(Spring.Web.Conversation.IConversationState)">
|
||||
<summary>
|
||||
<see cref="T:Spring.Web.Conversation.IConversationManager"/>
|
||||
</summary>
|
||||
<param name="conversation"></param>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.WebConversationManager.SetActiveConversation(Spring.Web.Conversation.IConversationState)">
|
||||
<summary>
|
||||
<see cref="T:Spring.Web.Conversation.IConversationManager"/>
|
||||
</summary>
|
||||
<param name="conversation"></param>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.WebConversationManager.Dispose">
|
||||
<summary>
|
||||
Ends all conversations and Closes all their Session.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.WebConversationManager.RemoveConversation(Spring.Web.Conversation.IConversationState)">
|
||||
<summary>
|
||||
Remove conversation.
|
||||
</summary>
|
||||
<param name="conversation"></param>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.WebConversationManager.ActiveConversation">
|
||||
<summary>
|
||||
<see cref="T:Spring.Web.Conversation.IConversationManager"/>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.WebConversationManager.SessionFactoryName">
|
||||
<summary>
|
||||
"SessionFactory" name in the current context.
|
||||
This approach is required to support serialization.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.WebConversationManager.SessionFactory">
|
||||
<summary>
|
||||
<see cref="T:Spring.Web.Conversation.IConversationManager"/>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.WebConversationManager.EndPaused">
|
||||
<summary>
|
||||
<see cref="T:Spring.Web.Conversation.IConversationManager"/>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.WebConversationManager.ApplicationContext">
|
||||
<summary>
|
||||
Returns the current context. Supports serialization and deserialization.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Spring.Web.Conversation.WebConversationSpringState">
|
||||
<summary>
|
||||
Implementation of conversation in the infrastructure of Spring.
|
||||
It avoid Circular Dependencies.
|
||||
</summary>
|
||||
<author>Hailton de Castro</author>
|
||||
</member>
|
||||
<member name="F:Spring.Web.Conversation.WebConversationSpringState.MSG_CONVERSATION_ALREADY_HAS_PARENT">
|
||||
<summary>
|
||||
Default message for "CONVERSATION ALREADY HAS A PARENT" error.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.WebConversationSpringState.EndConversation">
|
||||
<summary>
|
||||
<see cref="T:Spring.Web.Conversation.IConversationState"/>
|
||||
</summary>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.WebConversationSpringState.StartResumeConversation">
|
||||
<summary>
|
||||
<see cref="T:Spring.Web.Conversation.IConversationState"/>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.WebConversationSpringState.PauseConversation">
|
||||
<summary>
|
||||
<see cref="T:Spring.Web.Conversation.IConversationState"/>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.WebConversationSpringState.Add(System.String,System.Object)">
|
||||
<summary>
|
||||
<see cref="T:IDictionary`2"/>
|
||||
</summary>
|
||||
<param name="key"></param>
|
||||
<param name="value"></param>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.WebConversationSpringState.ContainsKey(System.String)">
|
||||
<summary>
|
||||
<see cref="T:IDictionary`2"/>
|
||||
</summary>
|
||||
<param name="key"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.WebConversationSpringState.Remove(System.String)">
|
||||
<summary>
|
||||
<see cref="T:IDictionary`2"/>
|
||||
</summary>
|
||||
<param name="key"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.WebConversationSpringState.TryGetValue(System.String,System.Object@)">
|
||||
<summary>
|
||||
<see cref="T:IDictionary`2"/>
|
||||
</summary>
|
||||
<param name="key"></param>
|
||||
<param name="value"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.WebConversationSpringState.Add(System.Collections.Generic.KeyValuePair{System.String,System.Object})">
|
||||
<summary>
|
||||
<see cref="T:ICollection`1"/>
|
||||
</summary>
|
||||
<param name="item"></param>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.WebConversationSpringState.Clear">
|
||||
<summary>
|
||||
<see cref="T:ICollection`1"/>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.WebConversationSpringState.Contains(System.Collections.Generic.KeyValuePair{System.String,System.Object})">
|
||||
<summary>
|
||||
<see cref="T:ICollection`1"/>
|
||||
</summary>
|
||||
<param name="item"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.WebConversationSpringState.CopyTo(System.Collections.Generic.KeyValuePair{System.String,System.Object}[],System.Int32)">
|
||||
<summary>
|
||||
<see cref="T:ICollection`1"/>
|
||||
</summary>
|
||||
<param name="array"></param>
|
||||
<param name="arrayIndex"></param>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.WebConversationSpringState.Remove(System.Collections.Generic.KeyValuePair{System.String,System.Object})">
|
||||
<summary>
|
||||
<see cref="T:ICollection`1"/>
|
||||
</summary>
|
||||
<param name="item"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.WebConversationSpringState.GetEnumerator">
|
||||
<summary>
|
||||
<see cref="T:IEnumerable`1"/>
|
||||
</summary>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.WebConversationSpringState.System#Collections#IEnumerable#GetEnumerator">
|
||||
<summary>
|
||||
<see cref="T:System.Collections.IEnumerable"/>
|
||||
</summary>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.WebConversationSpringState.ToString">
|
||||
<summary>
|
||||
A String representation from conversation.
|
||||
</summary>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.WebConversationSpringState.Id">
|
||||
<summary>
|
||||
<see cref="T:Spring.Web.Conversation.IConversationState"/>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.WebConversationSpringState.Ended">
|
||||
<summary>
|
||||
<see cref="T:Spring.Web.Conversation.IConversationState"/>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.WebConversationSpringState.TimeOut">
|
||||
<summary>
|
||||
Default 180000.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.WebConversationSpringState.InnerConversations">
|
||||
<summary>
|
||||
<see cref="T:Spring.Web.Conversation.IConversationState"/>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.WebConversationSpringState.ParentConversation">
|
||||
<summary>
|
||||
<see cref="T:Spring.Web.Conversation.IConversationState"/>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.WebConversationSpringState.LastAccess">
|
||||
<summary>
|
||||
<see cref="P:Spring.Web.Conversation.WebConversationSpringState.LastAccess"/>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.WebConversationSpringState.ConversationManager">
|
||||
<summary>
|
||||
<see cref="T:Spring.Web.Conversation.IConversationState"/>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.WebConversationSpringState.RootSessionPerConversation">
|
||||
<summary>
|
||||
<see cref="T:Spring.Web.Conversation.IConversationState"/>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.WebConversationSpringState.SessionFactoryName">
|
||||
<summary>
|
||||
"SessionFactory" name in the current context.
|
||||
This approach is required to support serialization.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.WebConversationSpringState.SessionFactory">
|
||||
<summary>
|
||||
<see cref="T:Spring.Web.Conversation.IConversationState"/>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.WebConversationSpringState.DbProviderName">
|
||||
<summary>
|
||||
"DbProvider" name in the current context.
|
||||
This approach is required to support serialization.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.WebConversationSpringState.DbProvider">
|
||||
<summary>
|
||||
<see cref="T:Spring.Web.Conversation.IConversationState"/>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.WebConversationSpringState.IsNew">
|
||||
<summary>
|
||||
<see cref="T:Spring.Web.Conversation.IConversationState"/>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.WebConversationSpringState.IsPaused">
|
||||
<summary>
|
||||
<see cref="T:Spring.Web.Conversation.IConversationState"/>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.WebConversationSpringState.ObjectName">
|
||||
<summary>
|
||||
<see cref="T:Spring.Objects.Factory.IObjectNameAware"/>. It is used to valddate <see cref="P:Spring.Web.Conversation.WebConversationSpringState.Id"/>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.WebConversationSpringState.Keys">
|
||||
<summary>
|
||||
<see cref="T:IDictionary`2"/>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.WebConversationSpringState.Values">
|
||||
<summary>
|
||||
<see cref="T:IDictionary`2"/>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.WebConversationSpringState.Item(System.String)">
|
||||
<summary>
|
||||
<see cref="T:IDictionary`2"/>
|
||||
</summary>
|
||||
<param name="key"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.WebConversationSpringState.Count">
|
||||
<summary>
|
||||
<see cref="T:ICollection`1"/>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.WebConversationSpringState.IsReadOnly">
|
||||
<summary>
|
||||
<see cref="T:ICollection`1"/>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.WebConversationSpringState.ApplicationContext">
|
||||
<summary>
|
||||
Returns the current context. Supports serialization and deserialization.
|
||||
</summary>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" ?>
|
||||
<project name="Spring.Web.Conversation.NHibernate33" default="build" xmlns="http://nant.sf.net/release/0.91-alpha2/nant.xsd">
|
||||
<project name="Spring.Web.Conversation.NHibernate3" default="build" xmlns="http://nant.sf.net/release/0.91-alpha2/nant.xsd">
|
||||
<!--
|
||||
Required properties:
|
||||
* current.bin.dir - (path) root level to build to
|
||||
@@ -9,15 +9,15 @@
|
||||
<target name="build">
|
||||
|
||||
<!-- copy nh libs -->
|
||||
<echo message="NH Libs: ${nh33.lib.dir}" />
|
||||
<echo message="NH Libs: ${nh3.lib.dir}" />
|
||||
<copy todir="${current.bin.dir}" overwrite="true">
|
||||
<fileset basedir="${nh33.lib.dir}">
|
||||
<fileset basedir="${nh3.lib.dir}">
|
||||
<include name="**/*.dll" />
|
||||
</fileset>
|
||||
</copy>
|
||||
<echo message="${iesi33.lib.dir}" />
|
||||
<echo message="${iesi3.lib.dir}" />
|
||||
<copy todir="${current.bin.dir}" overwrite="true">
|
||||
<fileset basedir="${iesi33.lib.dir}">
|
||||
<fileset basedir="${iesi3.lib.dir}">
|
||||
<include name="**/*.dll" />
|
||||
</fileset>
|
||||
</copy>
|
||||
@@ -37,10 +37,10 @@
|
||||
<warning number="${nowarn.numbers}" />
|
||||
</nowarn>
|
||||
<sources failonempty="true">
|
||||
<include name="**/*.cs" />
|
||||
<include name="../Spring.Web.Conversation.NHibernate32/**/*.cs" />
|
||||
<include name="../GenCommonAssemblyInfo.cs" />
|
||||
<exclude name="../Spring.Web.Conversation.NHibernate32/AssemblyInfo.cs"/>
|
||||
<include name="**/*.cs" />
|
||||
<include name="../Spring.Web.Conversation.NHibernate3/**/*.cs" />
|
||||
<include name="../GenCommonAssemblyInfo.cs" />
|
||||
<exclude name="../Spring.Web.Conversation.NHibernate3/AssemblyInfo.cs"/>
|
||||
</sources>
|
||||
<references>
|
||||
<include name="mscorlib.dll"/>
|
||||
@@ -54,7 +54,7 @@
|
||||
<include name="${current.bin.dir}/*.dll" />
|
||||
<exclude name="${current.bin.dir}/${project::get-name()}.dll" />
|
||||
<exclude name="${current.bin.dir}/Spring.Web.Conversation.NHibernate*.dll" />
|
||||
<exclude name="${current.bin.dir}/Spring.Data.NHibernate32.dll" />
|
||||
<exclude name="${current.bin.dir}/Spring.Data.NHibernate4.dll" />
|
||||
</references>
|
||||
</csc>
|
||||
</target>
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0"?>
|
||||
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
|
||||
<metadata>
|
||||
<id>Spring.Web.Conversation.NHibernate32</id>
|
||||
<id>Spring.Web.Conversation.NHibernate3</id>
|
||||
<projectUrl>http://www.springframework.net/</projectUrl>
|
||||
<licenseUrl>http://www.springframework.net/license.html</licenseUrl>
|
||||
<iconUrl>http://springframework.net/images/SpringSource_Leaves32x32.png</iconUrl>
|
||||
@@ -13,18 +13,18 @@
|
||||
<language>en-US</language>
|
||||
<dependencies>
|
||||
<dependency id="Common.Logging" version="1.2.0" />
|
||||
<dependency id="Spring.Data.NHibernate32" version="2.0.0-RC1" />
|
||||
<dependency id="Spring.Data.NHibernate3" version="2.0.0-RC1" />
|
||||
</dependencies>
|
||||
</metadata>
|
||||
<files>
|
||||
<file src="build\net\3.5\release\Spring.Web.Conversation.NHibernate32.dll" target="lib\net35" />
|
||||
<file src="build\net\3.5\release\Spring.Web.Conversation.NHibernate32.pdb" target="lib\net35" />
|
||||
<file src="build\net\3.5\release\Spring.Web.Conversation.NHibernate32.xml" target="lib\net35" />
|
||||
<file src="build\net\4.0\release\Spring.Web.Conversation.NHibernate32.dll" target="lib\net40" />
|
||||
<file src="build\net\4.0\release\Spring.Web.Conversation.NHibernate32.pdb" target="lib\net40" />
|
||||
<file src="build\net\4.0\release\Spring.Web.Conversation.NHibernate32.xml" target="lib\net40" />
|
||||
<file src="build\net\4.5\release\Spring.Web.Conversation.NHibernate32.dll" target="lib\net45" />
|
||||
<file src="build\net\4.5\release\Spring.Web.Conversation.NHibernate32.pdb" target="lib\net45" />
|
||||
<file src="build\net\4.5\release\Spring.Web.Conversation.NHibernate32.xml" target="lib\net45" />
|
||||
<file src="build\net\3.5\release\Spring.Web.Conversation.NHibernate3.dll" target="lib\net35" />
|
||||
<file src="build\net\3.5\release\Spring.Web.Conversation.NHibernate3.pdb" target="lib\net35" />
|
||||
<file src="build\net\3.5\release\Spring.Web.Conversation.NHibernate3.xml" target="lib\net35" />
|
||||
<file src="build\net\4.0\release\Spring.Web.Conversation.NHibernate3.dll" target="lib\net40" />
|
||||
<file src="build\net\4.0\release\Spring.Web.Conversation.NHibernate3.pdb" target="lib\net40" />
|
||||
<file src="build\net\4.0\release\Spring.Web.Conversation.NHibernate3.xml" target="lib\net40" />
|
||||
<file src="build\net\4.5\release\Spring.Web.Conversation.NHibernate3.dll" target="lib\net45" />
|
||||
<file src="build\net\4.5\release\Spring.Web.Conversation.NHibernate3.pdb" target="lib\net45" />
|
||||
<file src="build\net\4.5\release\Spring.Web.Conversation.NHibernate3.xml" target="lib\net45" />
|
||||
</files>
|
||||
</package>
|
||||
@@ -0,0 +1,953 @@
|
||||
<?xml version="1.0"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>Spring.Web.Conversation.NHibernate33</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:Spring.Data.NHibernate.Support.SessionPerConversationScope">
|
||||
<summary>
|
||||
Based on <see cref="T:Spring.Data.NHibernate.Support.SessionScope"/>
|
||||
for support of 'session-per-conversation' pattern.
|
||||
</summary>
|
||||
<author>Hailton de Castro</author>
|
||||
</member>
|
||||
<member name="F:Spring.Data.NHibernate.Support.SessionPerConversationScope.log">
|
||||
<summary>
|
||||
The logging instance.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Spring.Data.NHibernate.Support.SessionPerConversationScope.#ctor">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Spring.Data.NHibernate.Support.SessionPerConversationScopeSettings"/> class.
|
||||
Uses default values for <see cref="T:Spring.Data.NHibernate.Support.SessionPerConversationScopeSettings"/>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Spring.Data.NHibernate.Support.SessionPerConversationScope.#ctor(NHibernate.IInterceptor,NHibernate.FlushMode)">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Spring.Data.NHibernate.Support.SessionPerConversationScopeSettings"/> class.
|
||||
</summary>
|
||||
<param name="entityInterceptor">Specify the <see cref="T:NHibernate.IInterceptor"/> to be set on each session provided by this <see cref="T:Spring.Data.NHibernate.Support.SessionPerConversationScope"/> instance.</param>
|
||||
<param name="defaultFlushMode">Specify the flushmode to be applied on each session provided by this <see cref="T:Spring.Data.NHibernate.Support.SessionPerConversationScope"/> instance.
|
||||
</param>
|
||||
</member>
|
||||
<member name="M:Spring.Data.NHibernate.Support.SessionPerConversationScope.#ctor(Spring.Data.NHibernate.Support.SessionPerConversationScopeSettings)">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Spring.Data.NHibernate.Support.SessionScope"/> class.
|
||||
</summary>
|
||||
<param name="settings">An <see cref="T:Spring.Data.NHibernate.Support.SessionPerConversationScopeSettings"/> instance holding the scope configuration</param>
|
||||
</member>
|
||||
<member name="M:Spring.Data.NHibernate.Support.SessionPerConversationScope.SetOpen(System.Boolean)">
|
||||
<summary>
|
||||
Sets a flag, whether this scope is in "open" state on the current logical thread.
|
||||
</summary>
|
||||
<param name="isOpen"></param>
|
||||
</member>
|
||||
<member name="M:Spring.Data.NHibernate.Support.SessionPerConversationScope.Dispose">
|
||||
<summary>
|
||||
NOOP.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Spring.Data.NHibernate.Support.SessionPerConversationScope.Open(Spring.Web.Conversation.IConversationState,System.Collections.Generic.ICollection{Spring.Web.Conversation.IConversationState})">
|
||||
<summary>
|
||||
Open a new session or reconect the
|
||||
<see cref="P:Spring.Web.Conversation.IConversationState.RootSessionPerConversation"/> in <paramref name="activeConversation"/>.
|
||||
Participating in an existing session registed with <see cref="T:Spring.Transaction.Support.TransactionSynchronizationManager"/>
|
||||
is not alowed.
|
||||
</summary>
|
||||
<param name="activeConversation"></param>
|
||||
<param name="allManagedConversation"></param>
|
||||
<exception cref="T:System.InvalidOperationException">
|
||||
<list type="bullet">
|
||||
<item>If there is another conversation with a <see cref="T:NHibernate.ISession"/> with opened
|
||||
<see cref="T:System.Data.IDbConnection"/>.</item>
|
||||
<item>If attempting to participate in an existing NHibernate <see cref="T:NHibernate.ISessionFactory"/>
|
||||
managed by <see cref="T:Spring.Transaction.Support.TransactionSynchronizationManager"/>.
|
||||
</item>
|
||||
</list>
|
||||
</exception>
|
||||
</member>
|
||||
<member name="M:Spring.Data.NHibernate.Support.SessionPerConversationScope.Close(NHibernate.ISessionFactory,System.Collections.Generic.ICollection{Spring.Web.Conversation.IConversationState})">
|
||||
<summary>
|
||||
Close the current view's session and unregisters
|
||||
from <see cref="T:Spring.Transaction.Support.TransactionSynchronizationManager"/>.
|
||||
</summary>
|
||||
<param name="sessionFactory">The session factory that <see cref="T:Spring.Web.Conversation.IConversationState"/> on <paramref name="allManagedConversation"/> use</param>
|
||||
<param name="allManagedConversation">A list of conversations which the session can be closed or disconnected</param>
|
||||
<exception cref="T:System.InvalidOperationException">
|
||||
<list type="bullet">
|
||||
<item>If start/resume a conversation from a
|
||||
<see cref="T:Spring.Web.Conversation.IConversationManager"/> when exists a different <see cref="T:Spring.Web.Conversation.IConversationManager"/>
|
||||
with open <see cref="T:NHibernate.ISession"/> registered on <see cref="T:Spring.Transaction.Support.TransactionSynchronizationManager"/>
|
||||
</item>
|
||||
<item>If the holder on <see cref="T:Spring.Transaction.Support.TransactionSynchronizationManager"/>, is not a <see cref="T:Spring.Data.NHibernate.Support.SessionPerConversationScope.LazySessionPerConversationHolder"/>.</item>
|
||||
</list>
|
||||
</exception>
|
||||
</member>
|
||||
<member name="P:Spring.Data.NHibernate.Support.SessionPerConversationScope.DefaultFlushMode">
|
||||
<summary>
|
||||
Gets the flushmode to be applied on each newly created session.
|
||||
</summary>
|
||||
<remarks>
|
||||
This property defaults to <see cref="F:NHibernate.FlushMode.Never"/> to ensure that modifying objects outside the boundaries
|
||||
of a transaction will not be persisted. It is recommended to not change this value but wrap any modifying operation
|
||||
within a transaction.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="P:Spring.Data.NHibernate.Support.SessionPerConversationScope.EntityInterceptor">
|
||||
<summary>
|
||||
Get the configured EntityInterceptor
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Data.NHibernate.Support.SessionPerConversationScope.OpenerConversationId">
|
||||
<summary>
|
||||
Id for conversation that open the Session.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Data.NHibernate.Support.SessionPerConversationScope.IsOpen">
|
||||
<summary>
|
||||
Gets a flag, whether this scope is in "open" state on the current logical thread.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Spring.Data.NHibernate.Support.SessionPerConversationScope.LazySessionPerConversationHolder">
|
||||
<summary>
|
||||
This sessionHolder creates a session for the active conversation only if it is
|
||||
needed (<see cref="M:Spring.Web.Conversation.IConversationState.StartResumeConversation"/>).
|
||||
</summary>
|
||||
<remarks>
|
||||
Although a NHibernateSession defers creation of db-connections until they are really
|
||||
needed, instantiation a session is still more expensive than using LazySessionHolder.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="M:Spring.Data.NHibernate.Support.SessionPerConversationScope.LazySessionPerConversationHolder.#ctor(Spring.Data.NHibernate.Support.SessionPerConversationScope,Spring.Web.Conversation.IConversationState,System.Collections.Generic.ICollection{Spring.Web.Conversation.IConversationState})">
|
||||
<summary>
|
||||
Initialize a new instance.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Spring.Data.NHibernate.Support.SessionPerConversationScope.LazySessionPerConversationHolder.EnsureInitialized">
|
||||
<summary>
|
||||
Create a new session on demand
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Spring.Data.NHibernate.Support.SessionPerConversationScopeSettings">
|
||||
<summary>
|
||||
Setting for <see cref="T:Spring.Data.NHibernate.Support.SessionPerConversationScope"/>
|
||||
</summary>
|
||||
<author>Hailton de Castro</author>
|
||||
</member>
|
||||
<member name="F:Spring.Data.NHibernate.Support.SessionPerConversationScopeSettings.FLUSHMODE_DEFAULT">
|
||||
<summary>
|
||||
Default value for <see cref="P:Spring.Data.NHibernate.Support.SessionPerConversationScopeSettings.DefaultFlushMode"/> property.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Spring.Data.NHibernate.Support.SessionPerConversationScopeSettings.#ctor">
|
||||
<summary>
|
||||
Initialize a new instance of <see cref="T:Spring.Data.NHibernate.Support.SessionScopeSettings"/> with default values.
|
||||
</summary>
|
||||
<remarks>
|
||||
Calling this constructor from your derived class leaves <see cref="P:Spring.Data.NHibernate.Support.SessionPerConversationScopeSettings.EntityInterceptor"/>
|
||||
uninitialized. See <see cref="M:Spring.Data.NHibernate.Support.SessionPerConversationScopeSettings.ResolveEntityInterceptor"/> for more.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="M:Spring.Data.NHibernate.Support.SessionPerConversationScopeSettings.#ctor(NHibernate.IInterceptor,NHibernate.FlushMode)">
|
||||
<summary>
|
||||
Initialize a new instance of <see cref="T:Spring.Data.NHibernate.Support.SessionPerConversationScopeSettings"/> with the given values and references.
|
||||
</summary>
|
||||
<param name="entityInterceptor">
|
||||
Specify the <see cref="T:NHibernate.IInterceptor"/> to be set on each session provided by the <see cref="T:Spring.Data.NHibernate.Support.SessionPerConversationScope"/> instance.
|
||||
</param>
|
||||
<param name="defaultFlushMode">
|
||||
Specify the flushmode to be applied on each session provided by the <see cref="T:Spring.Data.NHibernate.Support.SessionScope"/> instance.
|
||||
</param>
|
||||
<remarks>
|
||||
Calling this constructor marks all properties initialized.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="M:Spring.Data.NHibernate.Support.SessionPerConversationScopeSettings.ResolveEntityInterceptor">
|
||||
<summary>
|
||||
Override this method to resolve an <see cref="T:NHibernate.IInterceptor"/> instance according to your chosen strategy.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Data.NHibernate.Support.SessionPerConversationScopeSettings.EntityInterceptor">
|
||||
<summary>
|
||||
Gets the configured <see cref="T:NHibernate.IInterceptor"/> instance to be used.
|
||||
</summary>
|
||||
<remarks>
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="P:Spring.Data.NHibernate.Support.SessionPerConversationScopeSettings.DefaultFlushMode">
|
||||
<summary>
|
||||
Gets or Sets the flushmode to be applied on each newly created session.
|
||||
</summary>
|
||||
<remarks>
|
||||
This property defaults to <see cref="F:NHibernate.FlushMode.Never"/> to ensure that modifying objects outside the boundaries
|
||||
of a transaction will not be persisted. It is recommended to not change this value but wrap any modifying operation
|
||||
within a transaction.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="T:Spring.Web.Conversation.HttpModule.ConversationModule">
|
||||
<summary>
|
||||
HttpModule for ending Conversations with Timeout exceeded.
|
||||
</summary>
|
||||
<author>Hailton de Castro</author>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.HttpModule.ConversationModule.Init(System.Web.HttpApplication)">
|
||||
<summary>
|
||||
Add PostRequestHandlerExecute event to clear conversations with timeout exceeded.
|
||||
</summary>
|
||||
<param name="context"></param>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.HttpModule.ConversationModule.Dispose">
|
||||
<summary>
|
||||
Disposes of the resources (other than memory) used by the module that implements <see cref="T:System.Web.IHttpModule"/>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.HttpModule.ConversationModule.page_Unload(System.Object,System.EventArgs)">
|
||||
<summary>
|
||||
Handles the Unload event of the page control.
|
||||
</summary>
|
||||
<param name="sender">The source of the event.</param>
|
||||
<param name="e">The <see cref="T:System.EventArgs"/> instance containing the event data.</param>
|
||||
<remarks>
|
||||
Necessary for Redirect or Abort for any reason.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.HttpModule.ConversationModule.ConversationManagerNameList">
|
||||
<summary>
|
||||
The Names of the <see cref="T:Spring.Web.Conversation.IConversationManager"/>s in the <see cref="T:Spring.Context.IApplicationContext"/>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.HttpModule.ConversationModule.ApplicationContext">
|
||||
<summary>
|
||||
Sets the <see cref="T:Spring.Context.IApplicationContext"/> that this
|
||||
object runs in.
|
||||
</summary>
|
||||
<value></value>
|
||||
<remarks>
|
||||
<p>
|
||||
Used to obtain the instances of <see cref="T:Spring.Web.Conversation.IConversationManager"/>
|
||||
</p>
|
||||
<p>
|
||||
Invoked after population of normal object properties but before an
|
||||
init callback such as
|
||||
<see cref="T:Spring.Objects.Factory.IInitializingObject"/>'s
|
||||
<see cref="M:Spring.Objects.Factory.IInitializingObject.AfterPropertiesSet"/>
|
||||
or a custom init-method. Invoked after the setting of any
|
||||
<see cref="T:Spring.Context.IResourceLoaderAware"/>'s
|
||||
<see cref="P:Spring.Context.IResourceLoaderAware.ResourceLoader"/>
|
||||
property.
|
||||
</p>
|
||||
</remarks>
|
||||
<exception cref="T:Spring.Context.ApplicationContextException">
|
||||
In the case of application context initialization errors.
|
||||
</exception>
|
||||
<exception cref="T:Spring.Objects.ObjectsException">
|
||||
If thrown by any application context methods.
|
||||
</exception>
|
||||
<exception cref="T:Spring.Objects.Factory.ObjectInitializationException"/>
|
||||
</member>
|
||||
<member name="T:Spring.Web.Conversation.IConversationManager">
|
||||
<summary>
|
||||
manager for Conversations.
|
||||
</summary>
|
||||
<author>Hailton de Castro</author>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.IConversationManager.GetConversationById(System.String)">
|
||||
<summary>
|
||||
Returns the conversation if it is still alive, otherwise it returns null.
|
||||
</summary>
|
||||
<param name="id"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.IConversationManager.EndOnTimeOut">
|
||||
<summary>
|
||||
Ends all conversations with the timeout exceeded.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.IConversationManager.PauseConversations">
|
||||
<summary>
|
||||
Close IDbConnections for <see cref="T:Spring.Web.Conversation.IConversationState"/> that
|
||||
use 'session-per-conversation'. It calls
|
||||
<see cref="M:Spring.Web.Conversation.IConversationState.PauseConversation"/> in all conversations.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.IConversationManager.FreeEnded">
|
||||
<summary>
|
||||
Release the ended conversations And removes them.
|
||||
If the conversation supports 'session-per-conversation', also close the session.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.IConversationManager.AddConversation(Spring.Web.Conversation.IConversationState)">
|
||||
<summary>
|
||||
Add conversation. If <see cref="T:Spring.Web.Conversation.IConversationManager"/> is null
|
||||
it resolves to 'this'.
|
||||
</summary>
|
||||
<param name="conversation"></param>
|
||||
<exception cref="T:System.InvalidOperationException">
|
||||
If <paramref name="conversation"/> already has another manager.
|
||||
</exception>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.IConversationManager.SetActiveConversation(Spring.Web.Conversation.IConversationState)">
|
||||
<summary>
|
||||
Makes the 'root conversation' of <paramref name="conversation"/>
|
||||
the current active conversation and open/reopen the
|
||||
<see cref="P:Spring.Web.Conversation.IConversationState.RootSessionPerConversation"/> if
|
||||
the conversation supports 'session-per-conversation'. Close all
|
||||
the connection for all session before.
|
||||
If <see cref="P:Spring.Web.Conversation.IConversationManager.EndPaused"/> is <c>true</c> will end all
|
||||
paused conversations.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.IConversationManager.ActiveConversation">
|
||||
<summary>
|
||||
Returns the active conversation if exists, otherwise returns null.
|
||||
It depends on <see cref="M:Spring.Web.Conversation.IConversationManager.SetActiveConversation(Spring.Web.Conversation.IConversationState)"/>
|
||||
</summary>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.IConversationManager.SessionFactory">
|
||||
<summary>
|
||||
<para>If this is non-null run pattern 'session-per-conversation'.
|
||||
Must be the same SessionFactory of the managed conversations.
|
||||
</para>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.IConversationManager.EndPaused">
|
||||
<summary>
|
||||
Ends the "paused conversations" in call to <see cref="P:Spring.Web.Conversation.IConversationManager.ActiveConversation"/>.
|
||||
Important: Unexpected behavior may occur if there are nested conversations,
|
||||
as in <see cref="M:Spring.Web.Conversation.IConversationState.StartResumeConversation"/> only the current conversation and its parents
|
||||
are started, the 'conversations children' remain paused, so these will be ended.
|
||||
Defaul value: <c>false</c>.
|
||||
</summary>
|
||||
<remarks>
|
||||
<para>When it is true, "start/resume a conversation" will cause the other to be
|
||||
ended and cleaned up.
|
||||
</para>
|
||||
<para>This is useful to avoid memory leak where there are many conversations.
|
||||
This leak can be very considerable, as the conversation may keep a "NHibernate session"
|
||||
that can contain many objects in its cache from the database queries.
|
||||
</para>
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="T:Spring.Web.Conversation.IConversationState">
|
||||
<summary>
|
||||
Port to conversation. If the object is not found in the current
|
||||
conversation, will be tried on the parent if the parent is
|
||||
not null.
|
||||
</summary>
|
||||
<exception cref="T:System.InvalidOperationException">
|
||||
If <see cref="P:Spring.Web.Conversation.IConversationState.Id"/> is different from spring name for this instance.
|
||||
</exception>
|
||||
<author>Hailton de Castro</author>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.IConversationState.StartResumeConversation">
|
||||
<summary>
|
||||
Starts or resumes the conversation and the <see cref="P:Spring.Web.Conversation.IConversationState.ParentConversation"/>.
|
||||
<para>If <see cref="P:Spring.Web.Conversation.IConversationState.RootSessionPerConversation"/> is not null, so
|
||||
<see cref="M:NHibernate.ISessionFactory.GetCurrentSession"/> is called to
|
||||
Raise SessionHolder for make the reconnection.
|
||||
</para>
|
||||
<para>Make <see cref="P:Spring.Web.Conversation.IConversationState.IsNew"/> return false.
|
||||
</para>
|
||||
<para>Update the <see cref="P:Spring.Web.Conversation.IConversationState.LastAccess"/>.
|
||||
</para>
|
||||
</summary>
|
||||
<exception cref="T:System.InvalidOperationException">
|
||||
<list type="bullet">
|
||||
<item>If this conversation is ended.
|
||||
</item>
|
||||
<item>If <see cref="P:Spring.Web.Conversation.IConversationState.RootSessionPerConversation"/> is not null and
|
||||
<see cref="P:Spring.Web.Conversation.IConversationState.RootSessionPerConversation"/> different from
|
||||
<see cref="M:NHibernate.ISessionFactory.GetCurrentSession"/>
|
||||
</item>
|
||||
</list>
|
||||
</exception>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.IConversationState.EndConversation">
|
||||
<summary>
|
||||
Ends the conversation. End each of the 'inner conversations' in
|
||||
<see cref="P:Spring.Web.Conversation.IConversationState.InnerConversations"/>. Returns false if the
|
||||
conversation and all <see cref="T:Spring.Web.Conversation.IConversationState"/> of
|
||||
<see cref="P:Spring.Web.Conversation.IConversationState.InnerConversations"/> has already been ended.
|
||||
</summary>
|
||||
<returns></returns>
|
||||
<exception cref="T:System.InvalidOperationException">
|
||||
<list type="bullet">
|
||||
<item>If <see cref="P:System.Web.HttpContext.Current"/>.
|
||||
<see cref="T:System.Web.SessionState.HttpSessionState">Session</see>["spring.objects"]
|
||||
is null.
|
||||
</item>
|
||||
<item>The 'spring session scopes' are not located in the key
|
||||
'spring.objects' of HttpSessionState.
|
||||
</item>
|
||||
</list>
|
||||
</exception>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.IConversationState.PauseConversation">
|
||||
<summary>
|
||||
Starts or resumes the conversation and each 'inner conversation' in
|
||||
<see cref="P:Spring.Web.Conversation.IConversationState.InnerConversations"/>.
|
||||
It is not about 'Session-per-conversation' because it is done by
|
||||
<see cref="T:Spring.Web.Conversation.IConversationManager"/>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.IConversationState.Id">
|
||||
<summary>
|
||||
Conversation id.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.IConversationState.IsNew">
|
||||
<summary>
|
||||
Return true until <see cref="M:Spring.Web.Conversation.IConversationState.StartResumeConversation"/> is called.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.IConversationState.Ended">
|
||||
<summary>
|
||||
Return true if this conversation is ended.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.IConversationState.InnerConversations">
|
||||
<summary>
|
||||
Inner conversation. After added if the <see cref="P:Spring.Web.Conversation.IConversationState.ParentConversation"/>
|
||||
is null it will resolve to 'this'.
|
||||
</summary>
|
||||
<exception cref="T:System.InvalidOperationException">at
|
||||
<see cref="T:System.Collections.Generic.ICollection`1.Add(T)"/>,
|
||||
<see cref="T:System.Collections.Generic.IList`1.this[int]"/>,
|
||||
<see cref="T:System.Collections.Generic.IList`1.Insert(int, T)"/>
|
||||
if Circular Dependency is detected.</exception>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.IConversationState.ParentConversation">
|
||||
<summary>
|
||||
Conversation parent.
|
||||
</summary>
|
||||
<exception cref="T:System.InvalidOperationException">
|
||||
<list type="bullet">
|
||||
<item>If this conversation already has a different parent.
|
||||
</item>
|
||||
<item>If this Conversation is not new.
|
||||
</item>
|
||||
<item>If Circular Dependency is detected.
|
||||
</item>
|
||||
<item>The Parent conversation is not new.
|
||||
</item>
|
||||
</list>
|
||||
</exception>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.IConversationState.TimeOut">
|
||||
<summary>
|
||||
TimeOut for the conversation in milliseconds.
|
||||
If <c>0</c> TimeOut will be ignored.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.IConversationState.LastAccess">
|
||||
<summary>
|
||||
Last acces for a value into this Conversation or Inner Conversation.
|
||||
Reset to DateTime.Now each time <see cref="M:Spring.Web.Conversation.IConversationState.StartResumeConversation"/>
|
||||
is called.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.IConversationState.ConversationManager">
|
||||
<summary>
|
||||
Conversation Manager. When this is setted if
|
||||
<see cref="M:Spring.Web.Conversation.IConversationManager.GetConversationById(System.String)"/>
|
||||
returns null so AddConversation is called.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.IConversationState.RootSessionPerConversation">
|
||||
<summary>
|
||||
<para><see cref="T:NHibernate.ISession"/> that is stored in the root conversation.
|
||||
</para>
|
||||
<para>
|
||||
<see cref="P:Spring.Web.Conversation.IConversationState.ConversationManager"/> must support 'session-per-conversation'.
|
||||
</para>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.IConversationState.SessionFactory">
|
||||
<summary>
|
||||
<para>If this is non-null run pattern 'session-per-conversation'.
|
||||
It also depends on <see cref="P:Spring.Web.Conversation.IConversationState.DbProvider"/> and <see cref="P:Spring.Web.Conversation.IConversationState.ConversationManager"/>.
|
||||
<see cref="P:Spring.Web.Conversation.IConversationState.ConversationManager"/> must support ConversationManager.
|
||||
</para>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.IConversationState.DbProvider">
|
||||
<summary>
|
||||
<para>If this is non-null run pattern 'session-per-conversation'.
|
||||
It also depends on <see cref="P:Spring.Web.Conversation.IConversationState.SessionFactory"/> and <see cref="P:Spring.Web.Conversation.IConversationState.ConversationManager"/>.
|
||||
<see cref="P:Spring.Web.Conversation.IConversationState.ConversationManager"/> must support ConversationManager.
|
||||
</para>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.IConversationState.IsPaused">
|
||||
<summary>
|
||||
Indicates that the conversation is paused.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Spring.Web.Conversation.InnerConversationList">
|
||||
<summary>
|
||||
List that make validation for Circular Dependency for <see cref="T:Spring.Web.Conversation.IConversationState"/>
|
||||
</summary>
|
||||
<author>Hailton de Castro</author>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.InnerConversationList.#ctor(Spring.Web.Conversation.IConversationState)">
|
||||
<summary>
|
||||
Contructor.
|
||||
</summary>
|
||||
<param name="conversationOwner">The <see cref="T:Spring.Web.Conversation.IConversationState"/> that owns this <see cref="T:Spring.Web.Conversation.InnerConversationList"/>.</param>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.InnerConversationList.PreAddProcessor(Spring.Web.Conversation.IConversationState)">
|
||||
<summary>
|
||||
Common Helper to be run before insert.
|
||||
</summary>
|
||||
<param name="itemAdded"></param>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.InnerConversationList.PostAddProcessor(Spring.Web.Conversation.IConversationState)">
|
||||
<summary>
|
||||
Common Helper to be run after insert.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.InnerConversationList.IndexOf(Spring.Web.Conversation.IConversationState)">
|
||||
<summary>
|
||||
<see cref="T:IList`1"/>
|
||||
</summary>
|
||||
<param name="item"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.InnerConversationList.Insert(System.Int32,Spring.Web.Conversation.IConversationState)">
|
||||
<summary>
|
||||
<see cref="T:IList`1"/>
|
||||
</summary>
|
||||
<param name="index"></param>
|
||||
<param name="item"></param>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.InnerConversationList.RemoveAt(System.Int32)">
|
||||
<summary>
|
||||
<see cref="T:IList`1"/>
|
||||
</summary>
|
||||
<param name="index"></param>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.InnerConversationList.Add(Spring.Web.Conversation.IConversationState)">
|
||||
<summary>
|
||||
<see cref="T:ICollection`1"/>
|
||||
</summary>
|
||||
<param name="item"></param>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.InnerConversationList.Clear">
|
||||
<summary>
|
||||
<see cref="T:ICollection`1"/>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.InnerConversationList.Contains(Spring.Web.Conversation.IConversationState)">
|
||||
<summary>
|
||||
<see cref="T:ICollection`1"/>
|
||||
</summary>
|
||||
<param name="item"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.InnerConversationList.CopyTo(Spring.Web.Conversation.IConversationState[],System.Int32)">
|
||||
<summary>
|
||||
<see cref="T:ICollection`1"/>
|
||||
</summary>
|
||||
<param name="array"></param>
|
||||
<param name="arrayIndex"></param>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.InnerConversationList.Remove(Spring.Web.Conversation.IConversationState)">
|
||||
<summary>
|
||||
<see cref="T:ICollection`1"/>
|
||||
</summary>
|
||||
<param name="item"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.InnerConversationList.GetEnumerator">
|
||||
<summary>
|
||||
<see cref="T:IEnumerable`1"/>
|
||||
</summary>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.InnerConversationList.System#Collections#IEnumerable#GetEnumerator">
|
||||
<summary>
|
||||
<see cref="T:System.Collections.IEnumerable"/>
|
||||
</summary>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.InnerConversationList.Add(System.Object)">
|
||||
<summary>
|
||||
<see cref="T:IList`1"/>
|
||||
</summary>
|
||||
<param name="value"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.InnerConversationList.Contains(System.Object)">
|
||||
<summary>
|
||||
<see cref="T:IList`1"/>
|
||||
</summary>
|
||||
<param name="value"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.InnerConversationList.IndexOf(System.Object)">
|
||||
<summary>
|
||||
<see cref="T:IList`1"/>
|
||||
</summary>
|
||||
<param name="value"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.InnerConversationList.Insert(System.Int32,System.Object)">
|
||||
<summary>
|
||||
<see cref="T:IList`1"/>
|
||||
</summary>
|
||||
<param name="index"></param>
|
||||
<param name="value"></param>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.InnerConversationList.Remove(System.Object)">
|
||||
<summary>
|
||||
<see cref="T:IList`1"/>
|
||||
</summary>
|
||||
<param name="value"></param>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.InnerConversationList.CopyTo(System.Array,System.Int32)">
|
||||
<summary>
|
||||
<see cref="T:System.Collections.ICollection"/>
|
||||
</summary>
|
||||
<param name="array"></param>
|
||||
<param name="index"></param>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.InnerConversationList.Item(System.Int32)">
|
||||
<summary>
|
||||
<see cref="T:IList`1"/>
|
||||
</summary>
|
||||
<param name="index"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.InnerConversationList.Count">
|
||||
<summary>
|
||||
<see cref="T:ICollection`1"/>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.InnerConversationList.IsReadOnly">
|
||||
<summary>
|
||||
<see cref="T:ICollection`1"/>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.InnerConversationList.IsFixedSize">
|
||||
<summary>
|
||||
<see cref="T:IList`1"/>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.InnerConversationList.System#Collections#IList#Item(System.Int32)">
|
||||
<summary>
|
||||
<see cref="T:IList`1"/>
|
||||
</summary>
|
||||
<param name="index"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.InnerConversationList.IsSynchronized">
|
||||
<summary>
|
||||
<see cref="T:System.Collections.ICollection"/>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.InnerConversationList.SyncRoot">
|
||||
<summary>
|
||||
<see cref="T:System.Collections.ICollection"/>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Spring.Web.Conversation.WebConversationManager">
|
||||
<summary>
|
||||
This was made to stay under session scope.
|
||||
</summary>
|
||||
<author>Hailton de Castro</author>
|
||||
</member>
|
||||
<member name="F:Spring.Web.Conversation.WebConversationManager.mutexEditDic">
|
||||
<summary>
|
||||
Semaphore to synchronize writes to the dictionary.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.WebConversationManager.GetConversationById(System.String)">
|
||||
<summary>
|
||||
<see cref="T:Spring.Web.Conversation.IConversationManager"/>
|
||||
</summary>
|
||||
<param name="id"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.WebConversationManager.EndOnTimeOut">
|
||||
<summary>
|
||||
<see cref="T:Spring.Web.Conversation.IConversationManager"/>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.WebConversationManager.PauseConversations">
|
||||
<summary>
|
||||
<see cref="T:Spring.Web.Conversation.IConversationManager"/>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.WebConversationManager.FreeEnded">
|
||||
<summary>
|
||||
<see cref="T:Spring.Web.Conversation.IConversationManager"/>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.WebConversationManager.AddConversation(Spring.Web.Conversation.IConversationState)">
|
||||
<summary>
|
||||
<see cref="T:Spring.Web.Conversation.IConversationManager"/>
|
||||
</summary>
|
||||
<param name="conversation"></param>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.WebConversationManager.SetActiveConversation(Spring.Web.Conversation.IConversationState)">
|
||||
<summary>
|
||||
<see cref="T:Spring.Web.Conversation.IConversationManager"/>
|
||||
</summary>
|
||||
<param name="conversation"></param>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.WebConversationManager.Dispose">
|
||||
<summary>
|
||||
Ends all conversations and Closes all their Session.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.WebConversationManager.RemoveConversation(Spring.Web.Conversation.IConversationState)">
|
||||
<summary>
|
||||
Remove conversation.
|
||||
</summary>
|
||||
<param name="conversation"></param>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.WebConversationManager.ActiveConversation">
|
||||
<summary>
|
||||
<see cref="T:Spring.Web.Conversation.IConversationManager"/>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.WebConversationManager.SessionFactoryName">
|
||||
<summary>
|
||||
"SessionFactory" name in the current context.
|
||||
This approach is required to support serialization.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.WebConversationManager.SessionFactory">
|
||||
<summary>
|
||||
<see cref="T:Spring.Web.Conversation.IConversationManager"/>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.WebConversationManager.EndPaused">
|
||||
<summary>
|
||||
<see cref="T:Spring.Web.Conversation.IConversationManager"/>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.WebConversationManager.ApplicationContext">
|
||||
<summary>
|
||||
Returns the current context. Supports serialization and deserialization.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Spring.Web.Conversation.WebConversationSpringState">
|
||||
<summary>
|
||||
Implementation of conversation in the infrastructure of Spring.
|
||||
It avoid Circular Dependencies.
|
||||
</summary>
|
||||
<author>Hailton de Castro</author>
|
||||
</member>
|
||||
<member name="F:Spring.Web.Conversation.WebConversationSpringState.MSG_CONVERSATION_ALREADY_HAS_PARENT">
|
||||
<summary>
|
||||
Default message for "CONVERSATION ALREADY HAS A PARENT" error.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.WebConversationSpringState.EndConversation">
|
||||
<summary>
|
||||
<see cref="T:Spring.Web.Conversation.IConversationState"/>
|
||||
</summary>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.WebConversationSpringState.StartResumeConversation">
|
||||
<summary>
|
||||
<see cref="T:Spring.Web.Conversation.IConversationState"/>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.WebConversationSpringState.PauseConversation">
|
||||
<summary>
|
||||
<see cref="T:Spring.Web.Conversation.IConversationState"/>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.WebConversationSpringState.Add(System.String,System.Object)">
|
||||
<summary>
|
||||
<see cref="T:IDictionary`2"/>
|
||||
</summary>
|
||||
<param name="key"></param>
|
||||
<param name="value"></param>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.WebConversationSpringState.ContainsKey(System.String)">
|
||||
<summary>
|
||||
<see cref="T:IDictionary`2"/>
|
||||
</summary>
|
||||
<param name="key"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.WebConversationSpringState.Remove(System.String)">
|
||||
<summary>
|
||||
<see cref="T:IDictionary`2"/>
|
||||
</summary>
|
||||
<param name="key"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.WebConversationSpringState.TryGetValue(System.String,System.Object@)">
|
||||
<summary>
|
||||
<see cref="T:IDictionary`2"/>
|
||||
</summary>
|
||||
<param name="key"></param>
|
||||
<param name="value"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.WebConversationSpringState.Add(System.Collections.Generic.KeyValuePair{System.String,System.Object})">
|
||||
<summary>
|
||||
<see cref="T:ICollection`1"/>
|
||||
</summary>
|
||||
<param name="item"></param>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.WebConversationSpringState.Clear">
|
||||
<summary>
|
||||
<see cref="T:ICollection`1"/>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.WebConversationSpringState.Contains(System.Collections.Generic.KeyValuePair{System.String,System.Object})">
|
||||
<summary>
|
||||
<see cref="T:ICollection`1"/>
|
||||
</summary>
|
||||
<param name="item"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.WebConversationSpringState.CopyTo(System.Collections.Generic.KeyValuePair{System.String,System.Object}[],System.Int32)">
|
||||
<summary>
|
||||
<see cref="T:ICollection`1"/>
|
||||
</summary>
|
||||
<param name="array"></param>
|
||||
<param name="arrayIndex"></param>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.WebConversationSpringState.Remove(System.Collections.Generic.KeyValuePair{System.String,System.Object})">
|
||||
<summary>
|
||||
<see cref="T:ICollection`1"/>
|
||||
</summary>
|
||||
<param name="item"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.WebConversationSpringState.GetEnumerator">
|
||||
<summary>
|
||||
<see cref="T:IEnumerable`1"/>
|
||||
</summary>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.WebConversationSpringState.System#Collections#IEnumerable#GetEnumerator">
|
||||
<summary>
|
||||
<see cref="T:System.Collections.IEnumerable"/>
|
||||
</summary>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Spring.Web.Conversation.WebConversationSpringState.ToString">
|
||||
<summary>
|
||||
A String representation from conversation.
|
||||
</summary>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.WebConversationSpringState.Id">
|
||||
<summary>
|
||||
<see cref="T:Spring.Web.Conversation.IConversationState"/>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.WebConversationSpringState.Ended">
|
||||
<summary>
|
||||
<see cref="T:Spring.Web.Conversation.IConversationState"/>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.WebConversationSpringState.TimeOut">
|
||||
<summary>
|
||||
Default 180000.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.WebConversationSpringState.InnerConversations">
|
||||
<summary>
|
||||
<see cref="T:Spring.Web.Conversation.IConversationState"/>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.WebConversationSpringState.ParentConversation">
|
||||
<summary>
|
||||
<see cref="T:Spring.Web.Conversation.IConversationState"/>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.WebConversationSpringState.LastAccess">
|
||||
<summary>
|
||||
<see cref="P:Spring.Web.Conversation.WebConversationSpringState.LastAccess"/>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.WebConversationSpringState.ConversationManager">
|
||||
<summary>
|
||||
<see cref="T:Spring.Web.Conversation.IConversationState"/>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.WebConversationSpringState.RootSessionPerConversation">
|
||||
<summary>
|
||||
<see cref="T:Spring.Web.Conversation.IConversationState"/>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.WebConversationSpringState.SessionFactoryName">
|
||||
<summary>
|
||||
"SessionFactory" name in the current context.
|
||||
This approach is required to support serialization.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.WebConversationSpringState.SessionFactory">
|
||||
<summary>
|
||||
<see cref="T:Spring.Web.Conversation.IConversationState"/>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.WebConversationSpringState.DbProviderName">
|
||||
<summary>
|
||||
"DbProvider" name in the current context.
|
||||
This approach is required to support serialization.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.WebConversationSpringState.DbProvider">
|
||||
<summary>
|
||||
<see cref="T:Spring.Web.Conversation.IConversationState"/>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.WebConversationSpringState.IsNew">
|
||||
<summary>
|
||||
<see cref="T:Spring.Web.Conversation.IConversationState"/>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.WebConversationSpringState.IsPaused">
|
||||
<summary>
|
||||
<see cref="T:Spring.Web.Conversation.IConversationState"/>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.WebConversationSpringState.ObjectName">
|
||||
<summary>
|
||||
<see cref="T:Spring.Objects.Factory.IObjectNameAware"/>. It is used to valddate <see cref="P:Spring.Web.Conversation.WebConversationSpringState.Id"/>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.WebConversationSpringState.Keys">
|
||||
<summary>
|
||||
<see cref="T:IDictionary`2"/>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.WebConversationSpringState.Values">
|
||||
<summary>
|
||||
<see cref="T:IDictionary`2"/>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.WebConversationSpringState.Item(System.String)">
|
||||
<summary>
|
||||
<see cref="T:IDictionary`2"/>
|
||||
</summary>
|
||||
<param name="key"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.WebConversationSpringState.Count">
|
||||
<summary>
|
||||
<see cref="T:ICollection`1"/>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.WebConversationSpringState.IsReadOnly">
|
||||
<summary>
|
||||
<see cref="T:ICollection`1"/>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Spring.Web.Conversation.WebConversationSpringState.ApplicationContext">
|
||||
<summary>
|
||||
Returns the current context. Supports serialization and deserialization.
|
||||
</summary>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
||||
@@ -1,25 +0,0 @@
|
||||
#region License
|
||||
|
||||
/*
|
||||
* Copyright <20> 2002-2011 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#endregion
|
||||
|
||||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: AssemblyTitle("Spring.Web.Conversation.NHibernate32. NHibernate 3.2 support.")]
|
||||
[assembly: AssemblyDescription("Interfaces and classes that provide 'Long-Running Conversation' support in Spring.Net")]
|
||||
@@ -1,59 +0,0 @@
|
||||
<?xml version="1.0" ?>
|
||||
<project name="Spring.Web.Conversation.NHibernate32" default="build" xmlns="http://nant.sf.net/release/0.91-alpha2/nant.xsd">
|
||||
<!--
|
||||
Required properties:
|
||||
* current.bin.dir - (path) root level to build to
|
||||
* current.build.debug - (true|false) debug build?
|
||||
* current.build.defines.csc - framework-specific build defines for C# compiler
|
||||
-->
|
||||
<target name="build">
|
||||
|
||||
<!-- copy nh libs -->
|
||||
<echo message="NH Libs: ${nh32.lib.dir}" />
|
||||
<copy todir="${current.bin.dir}" overwrite="true">
|
||||
<fileset basedir="${nh32.lib.dir}">
|
||||
<include name="**/*.dll" />
|
||||
</fileset>
|
||||
</copy>
|
||||
<echo message="${iesi32.lib.dir}" />
|
||||
<copy todir="${current.bin.dir}" overwrite="true">
|
||||
<fileset basedir="${iesi32.lib.dir}">
|
||||
<include name="**/*.dll" />
|
||||
</fileset>
|
||||
</copy>
|
||||
|
||||
<!-- build Spring.Data.NHibernate -->
|
||||
<csc target="library" define="${current.build.defines.csc}"
|
||||
warnaserror="true"
|
||||
optimize="${build.optimize}"
|
||||
debug="${current.build.debug}"
|
||||
output="${current.bin.dir}/${project::get-name()}.dll"
|
||||
doc="${current.bin.dir}/${project::get-name()}.xml"
|
||||
nostdlib="true"
|
||||
noconfig="true"
|
||||
>
|
||||
<arg line="${compiler.args}"/>
|
||||
<nowarn>
|
||||
<warning number="${nowarn.numbers}" />
|
||||
</nowarn>
|
||||
<sources failonempty="true">
|
||||
<include name="**/*.cs" />
|
||||
<include name="../GenCommonAssemblyInfo.cs" />
|
||||
</sources>
|
||||
<references>
|
||||
<include name="mscorlib.dll"/>
|
||||
<include name="Microsoft.CSharp.dll"/>
|
||||
<include name="System.dll"/>
|
||||
<include name="System.Core.dll"/>
|
||||
<include name="System.Configuration.dll"/>
|
||||
<include name="System.Data.dll" />
|
||||
<include name="System.Web.dll" />
|
||||
<include name="System.EnterpriseServices.dll" />
|
||||
<include name="${current.bin.dir}/*.dll" />
|
||||
<exclude name="${project::get-name()}.dll" />
|
||||
<exclude name="${current.bin.dir}/Spring.Web.Conversation.NHibernate*.dll" />
|
||||
<exclude name="${current.bin.dir}/Spring.Data.NHibernate33.dll" />
|
||||
</references>
|
||||
</csc>
|
||||
</target>
|
||||
</project>
|
||||
@@ -1,6 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="Common.Logging" version="2.1.2" targetFramework="net40" />
|
||||
<package id="Iesi.Collections" version="3.2.0.4000" targetFramework="net40" />
|
||||
<package id="NHibernate" version="3.2.0.4000" targetFramework="net40" />
|
||||
</packages>
|
||||
@@ -1 +0,0 @@
|
||||
sources are linked here from Spring.ConversationWA.NH32
|
||||
@@ -1,119 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>9.0.30729</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{CF375928-B6D5-485C-B04D-2BC41D9DBF1E}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>Spring</RootNamespace>
|
||||
<AssemblyName>Spring.Web.Conversation.NHibernate33</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<FileUpgradeFlags>
|
||||
</FileUpgradeFlags>
|
||||
<OldToolsVersion>3.5</OldToolsVersion>
|
||||
<UpgradeBackupLocation />
|
||||
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\..\</SolutionDir>
|
||||
<RestorePackages>true</RestorePackages>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>..\..\..\build\VS.Net.2010\Spring.Web.Conversation.NHibernate33\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<DocumentationFile>Spring.Web.Conversation.NHibernate33.XML</DocumentationFile>
|
||||
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>..\..\..\build\VS.Net.2010\Spring.Web.Conversation.NHibernate33\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Common.Logging">
|
||||
<HintPath>..\..\..\packages\Common.Logging.2.1.2\lib\net40\Common.Logging.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Iesi.Collections, Version=1.0.1.0, Culture=neutral, PublicKeyToken=aa95f207798dfdb4, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\..\packages\Iesi.Collections.3.3.3.4001\lib\Net35\Iesi.Collections.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="NHibernate, Version=3.3.1.4000, Culture=neutral, PublicKeyToken=aa95f207798dfdb4, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\..\packages\NHibernate.3.3.3.4001\lib\Net35\NHibernate.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Web" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="..\CommonAssemblyInfo.cs">
|
||||
<Link>CommonAssemblyInfo.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Web.Conversation.NHibernate32\Data\NHibernate\Support\SessionPerConversationScope.cs">
|
||||
<Link>Data\NHibernate\Support\SessionPerConversationScope.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Web.Conversation.NHibernate32\Data\NHibernate\Support\SessionPerConversationSettings.cs">
|
||||
<Link>Data\NHibernate\Support\SessionPerConversationSettings.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Web.Conversation.NHibernate32\Web\Conversation\HttpModule\ConversationModule.cs">
|
||||
<Link>Web\Conversation\HttpModule\ConversationModule.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Web.Conversation.NHibernate32\Web\Conversation\IConversationManager.cs">
|
||||
<Link>Web\Conversation\IConversationManager.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Web.Conversation.NHibernate32\Web\Conversation\IConversationState.cs">
|
||||
<Link>Web\Conversation\IConversationState.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Web.Conversation.NHibernate32\Web\Conversation\InnerConversationList.cs">
|
||||
<Link>Web\Conversation\InnerConversationList.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Web.Conversation.NHibernate32\Web\Conversation\WebConversationManager.cs">
|
||||
<Link>Web\Conversation\WebConversationManager.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\Spring.Web.Conversation.NHibernate32\Web\Conversation\WebConversationSpringState.cs">
|
||||
<Link>Web\Conversation\WebConversationSpringState.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="AssemblyInfo.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="app.config" />
|
||||
<None Include="packages.config" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\Spring.Core\Spring.Core.2010.csproj">
|
||||
<Project>{710961A3-0DF4-49E4-A26E-F5B9C044AC84}</Project>
|
||||
<Name>Spring.Core.2010</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Spring.Data.NHibernate33\Spring.Data.NHibernate33.2010.csproj">
|
||||
<Project>{67EA5988-C54E-4348-BFFB-E4A61F26143C}</Project>
|
||||
<Name>Spring.Data.NHibernate33.2010</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Spring.Data\Spring.Data.2010.csproj">
|
||||
<Project>{AE00E5AB-C39A-436F-86D2-33BFE33E2E40}</Project>
|
||||
<Name>Spring.Data.2010</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Folder Include="Properties\" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
</Project>
|
||||
@@ -1,30 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
|
||||
<metadata>
|
||||
<id>Spring.Web.Conversation.NHibernate33</id>
|
||||
<projectUrl>http://www.springframework.net/</projectUrl>
|
||||
<licenseUrl>http://www.springframework.net/license.html</licenseUrl>
|
||||
<iconUrl>http://springframework.net/images/SpringSource_Leaves32x32.png</iconUrl>
|
||||
<version>0.0.0</version>
|
||||
<!-- this value is a placeholder replaced by build script -->
|
||||
<authors>SpringSource</authors>
|
||||
<description>Conversation-Per-Business-Transaction support for Spring.Net using NHibernate</description>
|
||||
<summary>Conversation-Per-Business-Transaction support for Spring.Net using NHibernate</summary>
|
||||
<language>en-US</language>
|
||||
<dependencies>
|
||||
<dependency id="Common.Logging" version="1.2.0" />
|
||||
<dependency id="Spring.Data.NHibernate33" version="2.0.0-RC1" />
|
||||
</dependencies>
|
||||
</metadata>
|
||||
<files>
|
||||
<file src="build\net\3.5\release\Spring.Web.Conversation.NHibernate33.dll" target="lib\net35" />
|
||||
<file src="build\net\3.5\release\Spring.Web.Conversation.NHibernate33.pdb" target="lib\net35" />
|
||||
<file src="build\net\3.5\release\Spring.Web.Conversation.NHibernate33.xml" target="lib\net35" />
|
||||
<file src="build\net\4.0\release\Spring.Web.Conversation.NHibernate33.dll" target="lib\net40" />
|
||||
<file src="build\net\4.0\release\Spring.Web.Conversation.NHibernate33.pdb" target="lib\net40" />
|
||||
<file src="build\net\4.0\release\Spring.Web.Conversation.NHibernate33.xml" target="lib\net40" />
|
||||
<file src="build\net\4.5\release\Spring.Web.Conversation.NHibernate33.dll" target="lib\net45" />
|
||||
<file src="build\net\4.5\release\Spring.Web.Conversation.NHibernate33.pdb" target="lib\net45" />
|
||||
<file src="build\net\4.5\release\Spring.Web.Conversation.NHibernate33.xml" target="lib\net45" />
|
||||
</files>
|
||||
</package>
|
||||
@@ -1,3 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<configuration>
|
||||
<startup/></configuration>
|
||||
@@ -103,7 +103,7 @@
|
||||
</copy>
|
||||
<!-- copy nh libs -->
|
||||
<copy todir="${current.bin.dir}" overwrite="true">
|
||||
<fileset basedir="${nh32.lib.dir}">
|
||||
<fileset basedir="${nh3.lib.dir}">
|
||||
<include name="**/*.dll" />
|
||||
</fileset>
|
||||
</copy>
|
||||
|
||||
@@ -1,22 +1,14 @@
|
||||
using System;
|
||||
using Spring.Data;
|
||||
using Spring.Data.NHibernate.Support;
|
||||
|
||||
namespace Spring.Data.NHibernate
|
||||
{
|
||||
public class AccountCreditDao : HibernateDaoSupport, IAccountCreditDao
|
||||
{
|
||||
|
||||
public AccountCreditDao()
|
||||
{
|
||||
}
|
||||
|
||||
public void CreateCredit(float creditAmount)
|
||||
{
|
||||
Credit c = new Credit();
|
||||
c.Amount = creditAmount;
|
||||
HibernateTemplate.SaveOrUpdate(c);
|
||||
HibernateTemplate.Save(c);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,22 +1,14 @@
|
||||
|
||||
using Spring.Data.NHibernate.Support;
|
||||
|
||||
namespace Spring.Data.NHibernate
|
||||
{
|
||||
public class AccountDebitDao : HibernateDaoSupport, IAccountDebitDao
|
||||
{
|
||||
|
||||
public AccountDebitDao()
|
||||
{
|
||||
}
|
||||
|
||||
public void DebitAccount(float debitAmount)
|
||||
{
|
||||
Debit d = new Debit();
|
||||
d.Amount = debitAmount;
|
||||
HibernateTemplate.SaveOrUpdate(d);
|
||||
HibernateTemplate.Save(d);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -22,7 +22,9 @@
|
||||
|
||||
using System;
|
||||
using System.Collections;
|
||||
|
||||
using NHibernate.Type;
|
||||
|
||||
using Spring.Data.NHibernate.Support;
|
||||
using Spring.Transaction.Interceptor;
|
||||
|
||||
@@ -30,43 +32,42 @@ using Spring.Transaction.Interceptor;
|
||||
|
||||
namespace Spring.Data.NHibernate
|
||||
{
|
||||
public class NHTestObjectDao : HibernateDaoSupport, ITestObjectDao
|
||||
{
|
||||
public class NHTestObjectDao : HibernateDaoSupport, ITestObjectDao
|
||||
{
|
||||
#region Constructor (s)
|
||||
|
||||
#region Constructor (s)
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="NHTestObjectDao"/> class.
|
||||
/// </summary>
|
||||
public NHTestObjectDao()
|
||||
{
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="NHTestObjectDao"/> class.
|
||||
/// </summary>
|
||||
public NHTestObjectDao()
|
||||
{
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
#endregion
|
||||
|
||||
#region ITestObjectDao Members
|
||||
|
||||
[Transaction()]
|
||||
public void Create(TestObject to)
|
||||
{
|
||||
HibernateTemplate.Save(to);
|
||||
}
|
||||
|
||||
[Transaction()]
|
||||
public void Update(TestObject to)
|
||||
{
|
||||
HibernateTemplate.SaveOrUpdate(to);
|
||||
}
|
||||
|
||||
[Transaction()]
|
||||
public void Delete(TestObject to)
|
||||
{
|
||||
HibernateTemplate.Delete(to);
|
||||
}
|
||||
|
||||
public TestObject FindByName(string name)
|
||||
public void Create(TestObject to)
|
||||
{
|
||||
IList result = HibernateTemplate.Find(
|
||||
HibernateTemplate.Save(to);
|
||||
}
|
||||
|
||||
[Transaction()]
|
||||
public void Update(TestObject to)
|
||||
{
|
||||
HibernateTemplate.Update(to);
|
||||
}
|
||||
|
||||
[Transaction()]
|
||||
public void Delete(TestObject to)
|
||||
{
|
||||
HibernateTemplate.Delete(to);
|
||||
}
|
||||
|
||||
public TestObject FindByName(string name)
|
||||
{
|
||||
IList result = HibernateTemplate.Find(
|
||||
"from TestObject to where to.Name=?",
|
||||
name,
|
||||
TypeFactory.GetStringType(50)
|
||||
@@ -74,7 +75,7 @@ namespace Spring.Data.NHibernate
|
||||
|
||||
if (result.Count > 0)
|
||||
{
|
||||
return (TestObject)result[0];
|
||||
return (TestObject) result[0];
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -86,10 +87,10 @@ namespace Spring.Data.NHibernate
|
||||
{
|
||||
HibernateTemplate.Save(to);
|
||||
to.Name = "Updated Name";
|
||||
HibernateTemplate.SaveOrUpdate(to);
|
||||
HibernateTemplate.Update(to);
|
||||
throw new Exception("My expected exception for test purposes.");
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -22,56 +22,52 @@
|
||||
|
||||
using System;
|
||||
using System.Collections;
|
||||
using NHibernate.Type;
|
||||
using Spring.Data.NHibernate.Support;
|
||||
|
||||
using NHibernate.Type;
|
||||
|
||||
using Spring.Data.NHibernate.Support;
|
||||
|
||||
#endregion
|
||||
|
||||
namespace Spring.Data.NHibernate
|
||||
{
|
||||
/// <summary>
|
||||
/// NHibernate based DAO implementation of ITestObjectDAao:
|
||||
/// </summary>
|
||||
/// <author>Mark Pollack (.NET)</author>
|
||||
public class TestObjectDao : HibernateDaoSupport, ITestObjectDao
|
||||
{
|
||||
|
||||
#region Constructor (s)
|
||||
/// <summary>
|
||||
/// NHibernate based DAO implementation of ITestObjectDAao:
|
||||
/// </summary>
|
||||
/// <author>Mark Pollack (.NET)</author>
|
||||
public class TestObjectDao : HibernateDaoSupport, ITestObjectDao
|
||||
{
|
||||
#region Constructor (s)
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="TestObjectDao"/> class.
|
||||
/// </summary>
|
||||
public TestObjectDao()
|
||||
{
|
||||
public TestObjectDao()
|
||||
{
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
#endregion
|
||||
|
||||
#region ITestObjectDao Members
|
||||
|
||||
|
||||
public void Create(TestObject to)
|
||||
{
|
||||
//HibernateTemplate.Save(to);
|
||||
}
|
||||
|
||||
|
||||
public void Update(TestObject to)
|
||||
{
|
||||
HibernateTemplate.SaveOrUpdate(to);
|
||||
}
|
||||
|
||||
|
||||
public void Delete(TestObject to)
|
||||
{
|
||||
HibernateTemplate.Delete(to);
|
||||
}
|
||||
|
||||
public TestObject FindByName(string name)
|
||||
public void Create(TestObject to)
|
||||
{
|
||||
IList result = HibernateTemplate.Find(
|
||||
//HibernateTemplate.Save(to);
|
||||
}
|
||||
|
||||
public void Update(TestObject to)
|
||||
{
|
||||
HibernateTemplate.Update(to);
|
||||
}
|
||||
|
||||
public void Delete(TestObject to)
|
||||
{
|
||||
HibernateTemplate.Delete(to);
|
||||
}
|
||||
|
||||
public TestObject FindByName(string name)
|
||||
{
|
||||
IList result = HibernateTemplate.Find(
|
||||
"select from TestObject as to where to.Name=?",
|
||||
name,
|
||||
TypeFactory.GetStringType(50)
|
||||
@@ -79,7 +75,7 @@ namespace Spring.Data.NHibernate
|
||||
|
||||
if (result.Count > 0)
|
||||
{
|
||||
return (TestObject)result[0];
|
||||
return (TestObject) result[0];
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -91,10 +87,10 @@ namespace Spring.Data.NHibernate
|
||||
{
|
||||
HibernateTemplate.Save(to);
|
||||
to.Name = "Updated Name";
|
||||
HibernateTemplate.SaveOrUpdate(to);
|
||||
HibernateTemplate.Update(to);
|
||||
throw new Exception("My expected exception for test purposes.");
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: AssemblyTitle("Spring.Data.NHibernate3 Integration Tests")]
|
||||
[assembly: AssemblyDescription("Integration tests for Spring.Data.NHibernate3 assembly")]
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2">
|
||||
<class name="Spring.Data.NHibernate.Credit, Spring.Data.NHibernate33.Integration.Tests"
|
||||
<class name="Spring.Data.NHibernate.Credit, Spring.Data.NHibernate3.Integration.Tests"
|
||||
table="Credits" lazy="false">
|
||||
<id name="CreditID" column="CreditID" type="Int32">
|
||||
<generator class="identity" />
|
||||
@@ -4,7 +4,7 @@
|
||||
xmlns:tx="http://www.springframework.net/tx">
|
||||
|
||||
<object id="transactionManager"
|
||||
type="Spring.Data.NHibernate.HibernateTransactionManager, Spring.Data.NHibernate32">
|
||||
type="Spring.Data.NHibernate.HibernateTransactionManager, Spring.Data.NHibernate3">
|
||||
<!-- Comment out DbProvider if you want to have the tx mgr infer the DbProvider from
|
||||
the session factory. -->
|
||||
<!-- Set the DbProvider explicitly if you would like to have ADO.NET and NHibernate
|
||||
@@ -21,13 +21,13 @@
|
||||
connectionString="Data Source=SPRINGQA;Database=Spring;User ID=springqa;Password=springqa;Trusted_Connection=False"/>
|
||||
|
||||
|
||||
<object id="SessionFactory" type="Spring.Data.NHibernate.LocalSessionFactoryObject, Spring.Data.NHibernate32">
|
||||
<object id="SessionFactory" type="Spring.Data.NHibernate.LocalSessionFactoryObject, Spring.Data.NHibernate3">
|
||||
<property name="DbProvider" ref="DbProvider"/>
|
||||
|
||||
|
||||
<property name="MappingAssemblies">
|
||||
<list>
|
||||
<value>Spring.Data.NHibernate32.Integration.Tests</value>
|
||||
<value>Spring.Data.NHibernate3.Integration.Tests</value>
|
||||
</list>
|
||||
</property>
|
||||
<property name="HibernateProperties">
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2">
|
||||
<class name="Spring.Data.NHibernate.Debit, Spring.Data.NHibernate33.Integration.Tests"
|
||||
<class name="Spring.Data.NHibernate.Debit, Spring.Data.NHibernate3.Integration.Tests"
|
||||
table="Debits" lazy="false">
|
||||
<id name="DebitID" column="DebitID" type="Int32">
|
||||
<generator class="identity" />
|
||||
@@ -10,12 +10,12 @@
|
||||
provider="SqlServer-1.1"
|
||||
connectionString="Data Source=(local);Database=Spring;User ID=springqa;Password=springqa;Trusted_Connection=False"/>
|
||||
|
||||
<object id="SessionFactory1" type="Spring.Data.NHibernate.LocalSessionFactoryObject, Spring.Data.NHibernate33">
|
||||
<object id="SessionFactory1" type="Spring.Data.NHibernate.LocalSessionFactoryObject, Spring.Data.NHibernate3">
|
||||
|
||||
<property name="DbProvider" ref="DbProvider1"/>
|
||||
<property name="MappingAssemblies">
|
||||
<list>
|
||||
<value>Spring.Data.NHibernate33.Integration.Tests</value>
|
||||
<value>Spring.Data.NHibernate3.Integration.Tests</value>
|
||||
</list>
|
||||
</property>
|
||||
<property name="HibernateProperties">
|
||||
@@ -35,12 +35,12 @@
|
||||
|
||||
</object>
|
||||
|
||||
<object id="SessionFactory2" type="Spring.Data.NHibernate.LocalSessionFactoryObject, Spring.Data.NHibernate33">
|
||||
<object id="SessionFactory2" type="Spring.Data.NHibernate.LocalSessionFactoryObject, Spring.Data.NHibernate3">
|
||||
|
||||
<property name="DbProvider" ref="DbProvider2"/>
|
||||
<property name="MappingAssemblies">
|
||||
<list>
|
||||
<value>Spring.Data.NHibernate33.Integration.Tests</value>
|
||||
<value>Spring.Data.NHibernate3.Integration.Tests</value>
|
||||
</list>
|
||||
</property>
|
||||
<property name="HibernateProperties">
|
||||
@@ -65,17 +65,17 @@
|
||||
type="Spring.Data.Core.TxScopeTransactionManager, Spring.Data">
|
||||
</object>
|
||||
|
||||
<object id="AccountCreditDao" type="Spring.Data.NHibernate.AccountCreditDao, Spring.Data.NHibernate33.Integration.Tests">
|
||||
<object id="AccountCreditDao" type="Spring.Data.NHibernate.AccountCreditDao, Spring.Data.NHibernate3.Integration.Tests">
|
||||
<property name="SessionFactory" ref="SessionFactory1"/>
|
||||
</object>
|
||||
<object id="AccountDebitDao" type="Spring.Data.NHibernate.AccountDebitDao, Spring.Data.NHibernate33.Integration.Tests">
|
||||
<object id="AccountDebitDao" type="Spring.Data.NHibernate.AccountDebitDao, Spring.Data.NHibernate3.Integration.Tests">
|
||||
<property name="SessionFactory" ref="SessionFactory2"/>
|
||||
</object>
|
||||
|
||||
|
||||
<!-- The DAO object that performs multiple data access operations -->
|
||||
<object id="accountManagerTarget"
|
||||
type="Spring.Data.NHibernate.AccountManager, Spring.Data.NHibernate33.Integration.Tests">
|
||||
type="Spring.Data.NHibernate.AccountManager, Spring.Data.NHibernate3.Integration.Tests">
|
||||
<property name="AccountCreditDao" ref="AccountCreditDao"/>
|
||||
<property name="AccountDebitDao" ref="AccountDebitDao"/>
|
||||
|
||||
@@ -12,13 +12,13 @@
|
||||
connectionString="Data Source=MARKT60\SQL2005;Initial Catalog=CreditsAndDebits;User ID=springqa;Password=springqa"/>
|
||||
-->
|
||||
|
||||
<object id="SessionFactory" type="Spring.Data.NHibernate.LocalSessionFactoryObject, Spring.Data.NHibernate33">
|
||||
<object id="SessionFactory" type="Spring.Data.NHibernate.LocalSessionFactoryObject, Spring.Data.NHibernate3">
|
||||
<property name="DbProvider" ref="DbProvider"/>
|
||||
|
||||
|
||||
<property name="MappingAssemblies">
|
||||
<list>
|
||||
<value>Spring.Data.NHibernate33.Integration.Tests</value>
|
||||
<value>Spring.Data.NHibernate3.Integration.Tests</value>
|
||||
</list>
|
||||
</property>
|
||||
<property name="HibernateProperties">
|
||||
@@ -44,21 +44,21 @@
|
||||
|
||||
</object>
|
||||
|
||||
<object id="AccountCreditDao" type="Spring.Data.NHibernate.AccountCreditDao, Spring.Data.NHibernate33.Integration.Tests">
|
||||
<object id="AccountCreditDao" type="Spring.Data.NHibernate.AccountCreditDao, Spring.Data.NHibernate3.Integration.Tests">
|
||||
<property name="SessionFactory" ref="SessionFactory"/>
|
||||
</object>
|
||||
<object id="AccountDebitDao" type="Spring.Data.NHibernate.AccountDebitDao, Spring.Data.NHibernate33.Integration.Tests">
|
||||
<object id="AccountDebitDao" type="Spring.Data.NHibernate.AccountDebitDao, Spring.Data.NHibernate3.Integration.Tests">
|
||||
<property name="SessionFactory" ref="SessionFactory"/>
|
||||
</object>
|
||||
|
||||
<object id="AuditDao" type="Spring.Data.NHibernate.AuditDao, Spring.Data.NHibernate33.Integration.Tests">
|
||||
<object id="AuditDao" type="Spring.Data.NHibernate.AuditDao, Spring.Data.NHibernate3.Integration.Tests">
|
||||
<property name="DbProvider" ref="DbProvider"/>
|
||||
</object>
|
||||
|
||||
|
||||
<!-- The DAO object that performs multiple data access operations -->
|
||||
<object id="accountManagerTarget"
|
||||
type="Spring.Data.NHibernate.AccountManager, Spring.Data.NHibernate33.Integration.Tests">
|
||||
type="Spring.Data.NHibernate.AccountManager, Spring.Data.NHibernate3.Integration.Tests">
|
||||
<property name="AccountCreditDao" ref="AccountCreditDao"/>
|
||||
<property name="AccountDebitDao" ref="AccountDebitDao"/>
|
||||
|
||||
@@ -78,7 +78,7 @@
|
||||
</object>
|
||||
|
||||
<object id="hibernateTransactionManager"
|
||||
type="Spring.Data.NHibernate.HibernateTransactionManager, Spring.Data.NHibernate33">
|
||||
type="Spring.Data.NHibernate.HibernateTransactionManager, Spring.Data.NHibernate3">
|
||||
<!-- Comment out DbProvider if you want to have the tx mgr infer the DbProvider from
|
||||
the session factory. -->
|
||||
<!-- Set the DbProvider explicitly if you would like to have ADO.NET and NHibernate
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2">
|
||||
<class name="Spring.Data.NHibernate.TestObject, Spring.Data.NHibernate33.Integration.Tests" table="TestObjects">
|
||||
<class name="Spring.Data.NHibernate.TestObject, Spring.Data.NHibernate3.Integration.Tests" table="TestObjects">
|
||||
<id name="ObjectNumber" column="TestObjectNo" type="Int32">
|
||||
<generator class="identity" />
|
||||
|
||||
@@ -25,11 +25,11 @@
|
||||
|
||||
|
||||
|
||||
<object id="SessionFactory" type="Spring.Data.NHibernate.LocalSessionFactoryObject, Spring.Data.NHibernate33">
|
||||
<object id="SessionFactory" type="Spring.Data.NHibernate.LocalSessionFactoryObject, Spring.Data.NHibernate3">
|
||||
<property name="DbProvider" ref="DbProvider"/>
|
||||
<property name="MappingResources">
|
||||
<list>
|
||||
<value>assembly://Spring.Data.NHibernate33.Integration.Tests/Spring.Data.NHibernate/TestObject.hbm.xml</value>
|
||||
<value>assembly://Spring.Data.NHibernate3.Integration.Tests/Spring.Data.NHibernate/TestObject.hbm.xml</value>
|
||||
</list>
|
||||
</property>
|
||||
<!--
|
||||
@@ -76,7 +76,7 @@
|
||||
-->
|
||||
|
||||
<object id="hibernateTransactionManager"
|
||||
type="Spring.Data.NHibernate.HibernateTransactionManager, Spring.Data.NHibernate33">
|
||||
type="Spring.Data.NHibernate.HibernateTransactionManager, Spring.Data.NHibernate3">
|
||||
|
||||
<property name="DbProvider" ref="DbProvider"/>
|
||||
<property name="sessionFactory" ref="SessionFactory"/>
|
||||
@@ -90,7 +90,7 @@
|
||||
type="Spring.Transaction.Interceptor.TransactionProxyFactoryObject, Spring.Data">
|
||||
<property name="PlatformTransactionManager" ref="hibernateTransactionManager"/>
|
||||
<property name="Target">
|
||||
<object type="Spring.Data.NHibernate.NHTestObjectDao, Spring.Data.NHibernate33.Integration.Tests">
|
||||
<object type="Spring.Data.NHibernate.NHTestObjectDao, Spring.Data.NHibernate3.Integration.Tests">
|
||||
<property name="SessionFactory" ref="SessionFactory"/>
|
||||
</object>
|
||||
</property>
|
||||
@@ -20,12 +20,12 @@
|
||||
connectionString="Data Source=MARKT60\SQL2005;Initial Catalog=Spring;User ID=springqa; Password=springqa"/>
|
||||
-->
|
||||
|
||||
<object id="SessionFactory" type="Spring.Data.NHibernate.LocalSessionFactoryObject, Spring.Data.NHibernate33">
|
||||
<object id="SessionFactory" type="Spring.Data.NHibernate.LocalSessionFactoryObject, Spring.Data.NHibernate3">
|
||||
<!-- TODO Provide dedicated NHibernate Schema -->
|
||||
<property name="DbProvider" ref="DbProvider"/>
|
||||
<property name="MappingResources">
|
||||
<list>
|
||||
<value>assembly://Spring.Data.NHibernate33.Integration.Tests/Spring.Data.NHibernate/TestObject.hbm.xml</value>
|
||||
<value>assembly://Spring.Data.NHibernate3.Integration.Tests/Spring.Data.NHibernate/TestObject.hbm.xml</value>
|
||||
</list>
|
||||
</property>
|
||||
<!--
|
||||
@@ -64,16 +64,16 @@
|
||||
|
||||
</object>
|
||||
|
||||
<object id="nativeNHTestObjectDao" type="Spring.Data.NHibernate.NativeNHTestObjectDao, Spring.Data.NHibernate33.Integration.Tests">
|
||||
<object id="nativeNHTestObjectDao" type="Spring.Data.NHibernate.NativeNHTestObjectDao, Spring.Data.NHibernate3.Integration.Tests">
|
||||
<property name="SessionFactory" ref="SessionFactory"/>
|
||||
</object>
|
||||
|
||||
<object id="NHTestObjectDao" type="Spring.Data.NHibernate.NHTestObjectDao, Spring.Data.NHibernate33.Integration.Tests">
|
||||
<object id="NHTestObjectDao" type="Spring.Data.NHibernate.NHTestObjectDao, Spring.Data.NHibernate3.Integration.Tests">
|
||||
<property name="SessionFactory" ref="SessionFactory"/>
|
||||
</object>
|
||||
|
||||
<object id="hibernateTransactionManager"
|
||||
type="Spring.Data.NHibernate.HibernateTransactionManager, Spring.Data.NHibernate33">
|
||||
type="Spring.Data.NHibernate.HibernateTransactionManager, Spring.Data.NHibernate3">
|
||||
|
||||
<property name="DbProvider" ref="DbProvider"/>
|
||||
<property name="sessionFactory" ref="SessionFactory"/>
|
||||
@@ -104,7 +104,7 @@
|
||||
|
||||
<property name="PlatformTransactionManager" ref="hibernateTransactionManager"/>
|
||||
<property name="Target">
|
||||
<object type="Spring.Data.NHibernate.NHTestObjectDao, Spring.Data.NHibernate33.Integration.Tests">
|
||||
<object type="Spring.Data.NHibernate.NHTestObjectDao, Spring.Data.NHibernate3.Integration.Tests">
|
||||
<property name="SessionFactory" ref="SessionFactory"/>
|
||||
</object>
|
||||
</property>
|
||||
@@ -9,7 +9,7 @@
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>Spring</RootNamespace>
|
||||
<AssemblyName>Spring.Data.NHibernate33.Integration.Tests</AssemblyName>
|
||||
<AssemblyName>Spring.Data.NHibernate3.Integration.Tests</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
<FileUpgradeFlags>
|
||||
</FileUpgradeFlags>
|
||||
@@ -38,7 +38,7 @@
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>..\..\..\build\VS.Net.2010\Spring.Data.NHibernate33.Integration.Tests\Debug\</OutputPath>
|
||||
<OutputPath>..\..\..\build\VS.Net.2010\Spring.Data.NHibernate3.Integration.Tests\Debug\</OutputPath>
|
||||
<DefineConstants>TRACE;DEBUG</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
@@ -47,7 +47,7 @@
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>..\..\..\build\VS.Net.2010\Spring.Data.NHibernate33.Integration.Tests\Release\</OutputPath>
|
||||
<OutputPath>..\..\..\build\VS.Net.2010\Spring.Data.NHibernate3.Integration.Tests\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
@@ -172,7 +172,7 @@
|
||||
<Link>Data\NHibernate\creditdebit.sql</Link>
|
||||
</None>
|
||||
<None Include="packages.config" />
|
||||
<None Include="Spring.Data.NHibernate33.Integration.Tests.dll.config" />
|
||||
<None Include="Spring.Data.NHibernate3.Integration.Tests.dll.config" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="Data\NHibernate\Credit.hbm.xml" />
|
||||
@@ -226,9 +226,9 @@
|
||||
<Project>{710961A3-0DF4-49E4-A26E-F5B9C044AC84}</Project>
|
||||
<Name>Spring.Core.2010</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\..\src\Spring\Spring.Data.NHibernate33\Spring.Data.NHibernate33.2010.csproj">
|
||||
<ProjectReference Include="..\..\..\src\Spring\Spring.Data.NHibernate3\Spring.Data.NHibernate3.2010.csproj">
|
||||
<Project>{9F0F739C-876E-4C4B-AA55-9AC9242C25C8}</Project>
|
||||
<Name>Spring.Data.NHibernate33.2010</Name>
|
||||
<Name>Spring.Data.NHibernate3.2010</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\..\src\Spring\Spring.Data\Spring.Data.2010.csproj">
|
||||
<Project>{AE00E5AB-C39A-436F-86D2-33BFE33E2E40}</Project>
|
||||
@@ -245,8 +245,8 @@
|
||||
-->
|
||||
<PropertyGroup>
|
||||
<PostBuildEvent>echo "Copying .xml files for tests"
|
||||
xcopy "$(ProjectDir)Data" ..\..\..\..\build\VS.Net.2010\Spring.Data.NHibernate33.Integration.Tests\$(ConfigurationName)\ /y /s /q /d
|
||||
xcopy "$(ProjectDir)$(TargetFileName).config" ..\..\..\..\build\VS.Net.2010\Spring.Data.NHibernate33.Integration.Tests\$(ConfigurationName)\ /y /s /q</PostBuildEvent>
|
||||
xcopy "$(ProjectDir)Data" ..\..\..\..\build\VS.Net.2010\Spring.Data.NHibernate3.Integration.Tests\$(ConfigurationName)\ /y /s /q /d
|
||||
xcopy "$(ProjectDir)$(TargetFileName).config" ..\..\..\..\build\VS.Net.2010\Spring.Data.NHibernate3.Integration.Tests\$(ConfigurationName)\ /y /s /q</PostBuildEvent>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" />
|
||||
</Project>
|
||||
@@ -1,64 +1,64 @@
|
||||
<?xml version="1.0" ?>
|
||||
<project name="Spring.Data.NHibernate32.Integration.Tests" default="test" xmlns="http://nant.sf.net/schemas/nant.xsd">
|
||||
<!--
|
||||
Required properties:
|
||||
* current.bin.dir - (path) root level to build to
|
||||
* current.build.debug - (true|false) debug build?
|
||||
* current.build.defines.csc - framework-specific build defines for C# compiler
|
||||
-->
|
||||
<target name="build">
|
||||
|
||||
<!-- build Spring.Data.NHibernate32.Integration.Tests -->
|
||||
<csc target="library" define="${current.build.defines.csc}"
|
||||
warnaserror="true"
|
||||
optimize="${build.optimize}"
|
||||
debug="${current.build.debug}"
|
||||
output="${current.bin.dir}/${project::get-name()}.dll"
|
||||
doc="${current.bin.dir}/${project::get-name()}.xml"
|
||||
nostdlib="true"
|
||||
noconfig="true"
|
||||
>
|
||||
<nowarn>
|
||||
<warning number="${nowarn.numbers.test}" />
|
||||
</nowarn>
|
||||
<sources failonempty="true">
|
||||
<include name="**/*.cs" />
|
||||
<include name="../CommonAssemblyInfo.cs" />
|
||||
</sources>
|
||||
<references>
|
||||
<lib>
|
||||
<include name="${iesi32.lib.dir}"/>
|
||||
<include name="${nh32.lib.dir}"/>
|
||||
</lib>
|
||||
<include name="mscorlib.dll"/>
|
||||
<include name="Microsoft.CSharp.dll"/>
|
||||
<include name="System.dll"/>
|
||||
<include name="System.Core.dll"/>
|
||||
<include name="System.Data.dll" />
|
||||
<include name="System.EnterpriseServices.dll" />
|
||||
<include name="${current.bin.dir}/*.dll" />
|
||||
<exclude name="${current.bin.dir}/${project::get-name()}.dll" />
|
||||
<exclude name="${current.bin.dir}/Spring.Data.NHibernate31*.dll" />
|
||||
<exclude name="${current.bin.dir}/Spring.Data.NHibernate*Tests*.dll" />
|
||||
<exclude name="${current.bin.dir}/CloverRuntime.dll" />
|
||||
</references>
|
||||
<resources prefix="Spring" dynamicprefix="true" failonempty="true">
|
||||
<include name="**/*.xml" />
|
||||
</resources>
|
||||
</csc>
|
||||
|
||||
<copy file="${project::get-base-directory()}/${project::get-name()}.dll.config"
|
||||
tofile="${current.bin.dir}/${project::get-name()}.dll.config"/>
|
||||
|
||||
</target>
|
||||
<target name="test" depends="build">
|
||||
<!-- skipping running of tests for now
|
||||
<nunit2outproc>
|
||||
<formatter type="Plain" />
|
||||
<formatter type="Xml" usefile="true" extension=".xml"
|
||||
outputdir="${current.bin.dir}/results" />
|
||||
<test assemblyname="${current.bin.dir}/${project::get-name()}.dll" />
|
||||
</nunit2outproc>
|
||||
-->
|
||||
</target>
|
||||
</project>
|
||||
<?xml version="1.0" ?>
|
||||
<project name="Spring.Data.NHibernate3.Integration.Tests" default="test" xmlns="http://nant.sf.net/schemas/nant.xsd">
|
||||
<!--
|
||||
Required properties:
|
||||
* current.bin.dir - (path) root level to build to
|
||||
* current.build.debug - (true|false) debug build?
|
||||
* current.build.defines.csc - framework-specific build defines for C# compiler
|
||||
-->
|
||||
<target name="build">
|
||||
|
||||
<!-- build Spring.Data.NHibernate3.Integration.Tests -->
|
||||
<csc target="library" define="${current.build.defines.csc}"
|
||||
warnaserror="true"
|
||||
optimize="${build.optimize}"
|
||||
debug="${current.build.debug}"
|
||||
output="${current.bin.dir}/${project::get-name()}.dll"
|
||||
doc="${current.bin.dir}/${project::get-name()}.xml"
|
||||
nostdlib="true"
|
||||
noconfig="true"
|
||||
>
|
||||
<nowarn>
|
||||
<warning number="${nowarn.numbers.test}" />
|
||||
</nowarn>
|
||||
<sources failonempty="true">
|
||||
<include name="**/*.cs" />
|
||||
<include name="../CommonAssemblyInfo.cs" />
|
||||
</sources>
|
||||
<references>
|
||||
<lib>
|
||||
<include name="${nh3.lib.dir}"/>
|
||||
<include name="${iesi3.lib.dir}"/>
|
||||
</lib>
|
||||
<include name="mscorlib.dll"/>
|
||||
<include name="Microsoft.CSharp.dll"/>
|
||||
<include name="System.dll"/>
|
||||
<include name="System.Core.dll"/>
|
||||
<include name="System.Data.dll" />
|
||||
<include name="System.EnterpriseServices.dll" />
|
||||
<include name="${current.bin.dir}/*.dll" />
|
||||
<exclude name="${current.bin.dir}/${project::get-name()}.dll" />
|
||||
<exclude name="${current.bin.dir}/Spring.Data.NHibernate3*.dll" />
|
||||
<exclude name="${current.bin.dir}/Spring.Data.NHibernate*Tests*.dll" />
|
||||
<exclude name="${current.bin.dir}/CloverRuntime.dll" />
|
||||
</references>
|
||||
<resources prefix="Spring" dynamicprefix="true" failonempty="true">
|
||||
<include name="**/*.xml" />
|
||||
</resources>
|
||||
</csc>
|
||||
|
||||
<copy file="${project::get-base-directory()}/${project::get-name()}.dll.config"
|
||||
tofile="${current.bin.dir}/${project::get-name()}.dll.config"/>
|
||||
|
||||
</target>
|
||||
<target name="test" depends="build">
|
||||
<!-- skipping running of tests for now
|
||||
<nunit2outproc>
|
||||
<formatter type="Plain" />
|
||||
<formatter type="Xml" usefile="true" extension=".xml"
|
||||
outputdir="${current.bin.dir}/results" />
|
||||
<test assemblyname="${current.bin.dir}/${project::get-name()}.dll" />
|
||||
</nunit2outproc>
|
||||
-->
|
||||
</target>
|
||||
</project>
|
||||
@@ -12,11 +12,11 @@
|
||||
|
||||
|
||||
|
||||
<object id="SessionFactory" type="Spring.Data.NHibernate.LocalSessionFactoryObject, Spring.Data.NHibernate33">
|
||||
<object id="SessionFactory" type="Spring.Data.NHibernate.LocalSessionFactoryObject, Spring.Data.NHibernate3">
|
||||
<property name="DbProvider" ref="DbProvider"/>
|
||||
<property name="MappingResources">
|
||||
<list>
|
||||
<value>assembly://Spring.Data.NHibernate33.Tests/Spring.Data.NHibernate/TestObject.hbm.xml</value>
|
||||
<value>assembly://Spring.Data.NHibernate3.Tests/Spring.Data.NHibernate/TestObject.hbm.xml</value>
|
||||
</list>
|
||||
</property>
|
||||
<property name="HibernateProperties">
|
||||
@@ -38,11 +38,11 @@
|
||||
</object>
|
||||
|
||||
|
||||
<object id="TestObjectDao" type="Spring.Data.NHibernate.TestObjectDao, Spring.Data.NHibernate33.Tests">
|
||||
<object id="TestObjectDao" type="Spring.Data.NHibernate.TestObjectDao, Spring.Data.NHibernate3.Tests">
|
||||
<property name="SessionFactory" ref="SessionFactory"/>
|
||||
</object>
|
||||
|
||||
<object id="hibernateTransactionManager" type="Spring.Data.NHibernate.HibernateTransactionManager, Spring.Data.NHibernate33">
|
||||
<object id="hibernateTransactionManager" type="Spring.Data.NHibernate.HibernateTransactionManager, Spring.Data.NHibernate3">
|
||||
|
||||
<property name="DbProvider" ref="DbProvider"/>
|
||||
<property name="sessionFactory" ref="SessionFactory"/>
|
||||
@@ -51,7 +51,7 @@
|
||||
|
||||
<object name="transactionManager" type="Spring.Transaction.CallCountingTransactionManager, Spring.Data.Tests"/>
|
||||
|
||||
<object name="SimpleService" type="Spring.Data.NHibernate.SimpleService, Spring.Data.NHibernate33.Tests">
|
||||
<object name="SimpleService" type="Spring.Data.NHibernate.SimpleService, Spring.Data.NHibernate3.Tests">
|
||||
<property name="TestObjectDao" ref="TestObjectDao"/>
|
||||
</object>
|
||||
|
||||
@@ -13,11 +13,11 @@
|
||||
|
||||
|
||||
|
||||
<object id="SessionFactory" type="Spring.Data.NHibernate.LocalSessionFactoryObject, Spring.Data.NHibernate33">
|
||||
<object id="SessionFactory" type="Spring.Data.NHibernate.LocalSessionFactoryObject, Spring.Data.NHibernate3">
|
||||
<property name="DbProvider" ref="DbProvider"/>
|
||||
<property name="MappingResources">
|
||||
<list>
|
||||
<value>assembly://Spring.Data.NHibernate33.Tests/Spring.Data.NHibernate/TestObject.hbm.xml</value>
|
||||
<value>assembly://Spring.Data.NHibernate3.Tests/Spring.Data.NHibernate/TestObject.hbm.xml</value>
|
||||
</list>
|
||||
</property>
|
||||
<property name="HibernateProperties">
|
||||
@@ -40,11 +40,11 @@
|
||||
</object>
|
||||
|
||||
|
||||
<object id="TestObjectDao" type="Spring.Data.NHibernate.TestObjectDao, Spring.Data.NHibernate33.Tests">
|
||||
<object id="TestObjectDao" type="Spring.Data.NHibernate.TestObjectDao, Spring.Data.NHibernate3.Tests">
|
||||
<property name="SessionFactory" ref="SessionFactory"/>
|
||||
</object>
|
||||
|
||||
<object id="transactionManager" type="Spring.Data.NHibernate.HibernateTransactionManager, Spring.Data.NHibernate33">
|
||||
<object id="transactionManager" type="Spring.Data.NHibernate.HibernateTransactionManager, Spring.Data.NHibernate3">
|
||||
|
||||
<property name="DbProvider" ref="DbProvider"/>
|
||||
<property name="sessionFactory" ref="SessionFactory"/>
|
||||
@@ -52,11 +52,11 @@
|
||||
</object>
|
||||
|
||||
|
||||
<object name="SimpleService" type="Spring.Data.NHibernate.SimpleService, Spring.Data.NHibernate33.Tests">
|
||||
<object name="SimpleService" type="Spring.Data.NHibernate.SimpleService, Spring.Data.NHibernate3.Tests">
|
||||
<property name="TestObjectDao" ref="TestObjectDao"/>
|
||||
</object>
|
||||
|
||||
<object name="hibernateTemplate" type="Spring.Data.NHibernate.HibernateTemplate, Spring.Data.NHibernate33">
|
||||
<object name="hibernateTemplate" type="Spring.Data.NHibernate.HibernateTemplate, Spring.Data.NHibernate3">
|
||||
<property name="sessionFactory" ref="SessionFactory"/>
|
||||
</object>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2">
|
||||
<class name="Spring.Data.NHibernate.TestObject, Spring.Data.NHibernate33.Tests" table="TestObjects">
|
||||
<class name="Spring.Data.NHibernate.TestObject, Spring.Data.NHibernate3.Tests" table="TestObjects">
|
||||
<id name="ObjectNumber" column="TestObjectNo" type="Int32">
|
||||
<generator class="identity" />
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>Spring</RootNamespace>
|
||||
<AssemblyName>Spring.Data.NHibernate33.Tests</AssemblyName>
|
||||
<AssemblyName>Spring.Data.NHibernate3.Tests</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
<FileUpgradeFlags>
|
||||
</FileUpgradeFlags>
|
||||
@@ -38,7 +38,7 @@
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>..\..\..\build\VS.Net.2010\Spring.Data.NHibernate33.Tests\Debug\</OutputPath>
|
||||
<OutputPath>..\..\..\build\VS.Net.2010\Spring.Data.NHibernate3.Tests\Debug\</OutputPath>
|
||||
<DefineConstants>TRACE;DEBUG;NET_4_0</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
@@ -47,7 +47,7 @@
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>..\..\..\build\VS.Net.2010\Spring.Data.NHibernate33.Tests\Release\</OutputPath>
|
||||
<OutputPath>..\..\..\build\VS.Net.2010\Spring.Data.NHibernate3.Tests\Release\</OutputPath>
|
||||
<DefineConstants>TRACE;NET_4_0</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
@@ -114,7 +114,7 @@
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="packages.config" />
|
||||
<None Include="Spring.Data.NHibernate33.Tests.dll.config">
|
||||
<None Include="Spring.Data.NHibernate3.Tests.dll.config">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
@@ -127,9 +127,9 @@
|
||||
<Project>{710961A3-0DF4-49E4-A26E-F5B9C044AC84}</Project>
|
||||
<Name>Spring.Core.2010</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\..\src\Spring\Spring.Data.NHibernate33\Spring.Data.NHibernate33.2010.csproj">
|
||||
<ProjectReference Include="..\..\..\src\Spring\Spring.Data.NHibernate3\Spring.Data.NHibernate3.2010.csproj">
|
||||
<Project>{71368632-B8B7-4A6A-8C65-8DA848120C82}</Project>
|
||||
<Name>Spring.Data.NHibernate33.2010</Name>
|
||||
<Name>Spring.Data.NHibernate3.2010</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\..\src\Spring\Spring.Data\Spring.Data.2010.csproj">
|
||||
<Project>{AE00E5AB-C39A-436F-86D2-33BFE33E2E40}</Project>
|
||||
@@ -179,8 +179,8 @@
|
||||
-->
|
||||
<PropertyGroup>
|
||||
<PostBuildEvent>echo "Copying .xml files for tests"
|
||||
xcopy "$(ProjectDir)Data" ..\..\..\..\build\VS.Net.2010\Spring.Data.NHibernate33.Tests\$(ConfigurationName)\ /y /s /q /d
|
||||
xcopy "$(ProjectDir)$(TargetFileName).config" ..\..\..\..\build\VS.Net.2010\Spring.Data.NHibernate33.Tests\$(ConfigurationName)\ /y /s /q</PostBuildEvent>
|
||||
xcopy "$(ProjectDir)Data" ..\..\..\..\build\VS.Net.2010\Spring.Data.NHibernate3.Tests\$(ConfigurationName)\ /y /s /q /d
|
||||
xcopy "$(ProjectDir)$(TargetFileName).config" ..\..\..\..\build\VS.Net.2010\Spring.Data.NHibernate3.Tests\$(ConfigurationName)\ /y /s /q</PostBuildEvent>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" />
|
||||
</Project>
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" ?>
|
||||
<project name="Spring.Data.NHibernate33.Tests" default="build" xmlns="http://nant.sf.net/schemas/nant.xsd">
|
||||
<project name="Spring.Data.NHibernate3.Tests" default="build" xmlns="http://nant.sf.net/schemas/nant.xsd">
|
||||
|
||||
<include buildfile="${spring.basedir}/common-project.include" />
|
||||
|
||||
@@ -28,8 +28,8 @@
|
||||
</sources>
|
||||
<references>
|
||||
<lib>
|
||||
<include name="${nh32.lib.dir}"/>
|
||||
<include name="${iesi32.lib.dir}"/>
|
||||
<include name="${nh3.lib.dir}"/>
|
||||
<include name="${iesi3.lib.dir}"/>
|
||||
</lib>
|
||||
<include name="mscorlib.dll"/>
|
||||
<include name="Microsoft.CSharp.dll"/>
|
||||
@@ -54,7 +54,7 @@
|
||||
|
||||
<!-- copy nh libs -->
|
||||
<copy todir="${current.bin.dir}" overwrite="true">
|
||||
<fileset basedir="${nh32.lib.dir}">
|
||||
<fileset basedir="${nh3.lib.dir}">
|
||||
<include name="**/*.dll" />
|
||||
</fileset>
|
||||
</copy>
|
||||
@@ -1,4 +0,0 @@
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: AssemblyTitle("Spring.Data.NHibernate32 Integration Tests")]
|
||||
[assembly: AssemblyDescription("Integration tests for Spring.Data.NHibernate32 assembly")]
|
||||
@@ -1,5 +0,0 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
[assembly: AssemblyTitle("Spring.Data.NHibernate32 Integration Tests")]
|
||||
[assembly: AssemblyDescription("Integration tests for Spring.Data.NHibernate32 assembly")]
|
||||
@@ -1,7 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="Common.Logging" version="2.1.2" targetFramework="net40" />
|
||||
<package id="Iesi.Collections" version="3.2.0.4000" targetFramework="net40" />
|
||||
<package id="NHibernate" version="3.2.0.4000" targetFramework="net40" />
|
||||
<package id="NUnit" version="2.6.3" targetFramework="net40" />
|
||||
</packages>
|
||||
@@ -0,0 +1,4 @@
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: AssemblyTitle("Spring.Data.NHibernate3 Integration Tests")]
|
||||
[assembly: AssemblyDescription("Integration tests for Spring.Data.NHibernate3 assembly")]
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user