diff --git a/src/agilex.persistence.openrasta/OpenRasta.cs b/src/agilex.persistence.openrasta/AgilexOpenRastaDatabase.cs similarity index 83% rename from src/agilex.persistence.openrasta/OpenRasta.cs rename to src/agilex.persistence.openrasta/AgilexOpenRastaDatabase.cs index c22384a..e3f586a 100644 --- a/src/agilex.persistence.openrasta/OpenRasta.cs +++ b/src/agilex.persistence.openrasta/AgilexOpenRastaDatabase.cs @@ -6,9 +6,9 @@ namespace agilex.persistence.openrasta { - public static class AgilexOpenRasta + public static class AgilexOpenRastaDatabase { - public static void ConfigureDatabase(IDatabaseConfigurationParams configurationParams) + public static void Configure(IDatabaseConfigurationParams configurationParams) { ResourceSpace.Uses.PipelineContributor(); ResourceSpace.Uses.PipelineContributor(); diff --git a/src/agilex.persistence.openrasta/OpenRastaRepositoryLocator.cs b/src/agilex.persistence.openrasta/OpenRastaRepositoryLocator.cs new file mode 100644 index 0000000..a89734a --- /dev/null +++ b/src/agilex.persistence.openrasta/OpenRastaRepositoryLocator.cs @@ -0,0 +1,20 @@ +using OpenRasta.Web; +using agilex.persistence.openrasta.Pipelines; + +namespace agilex.persistence.openrasta +{ + public class OpenRastaRepositoryLocator : IRepositoryLocator + { + readonly IRepository _repository; + + public OpenRastaRepositoryLocator(ICommunicationContext communicationContext) + { + _repository = communicationContext.PipelineData[ContextKeys.Repository] as IRepository; + } + + public IRepository RepositoryInstance + { + get { return _repository; } + } + } +} \ No newline at end of file diff --git a/src/agilex.persistence.openrasta/agilex.persistence.openrasta.csproj b/src/agilex.persistence.openrasta/agilex.persistence.openrasta.csproj index d2ce1f0..69665e8 100644 --- a/src/agilex.persistence.openrasta/agilex.persistence.openrasta.csproj +++ b/src/agilex.persistence.openrasta/agilex.persistence.openrasta.csproj @@ -32,10 +32,10 @@ - ..\packages\agilex.persistence.1.0.0.9\lib\net40\agilex.persistence.dll + ..\packages\agilex.persistence.1.0.0.12\lib\net40\agilex.persistence.dll - ..\packages\agilex.persistence.1.0.0.9\lib\net40\agilex.persistence.nhibernate.dll + ..\packages\agilex.persistence.1.0.0.12\lib\net40\agilex.persistence.nhibernate.dll ..\packages\Castle.Core.2.5.2\lib\NET35\Castle.Core.dll @@ -69,7 +69,8 @@ - + + diff --git a/src/agilex.persistence.openrasta/packages.config b/src/agilex.persistence.openrasta/packages.config index 01c3b0e..aa12246 100644 --- a/src/agilex.persistence.openrasta/packages.config +++ b/src/agilex.persistence.openrasta/packages.config @@ -1,6 +1,6 @@  - + diff --git a/src/packages/agilex.persistence.1.0.0.12/agilex.persistence.1.0.0.12.nupkg b/src/packages/agilex.persistence.1.0.0.12/agilex.persistence.1.0.0.12.nupkg new file mode 100644 index 0000000..71d93c8 Binary files /dev/null and b/src/packages/agilex.persistence.1.0.0.12/agilex.persistence.1.0.0.12.nupkg differ diff --git a/src/packages/agilex.persistence.1.0.0.12/build_log.txt b/src/packages/agilex.persistence.1.0.0.12/build_log.txt new file mode 100644 index 0000000..9a34388 --- /dev/null +++ b/src/packages/agilex.persistence.1.0.0.12/build_log.txt @@ -0,0 +1,34 @@ +Microsoft (R) Build Engine Version 4.0.30319.1 +[Microsoft .NET Framework, Version 4.0.30319.239] +Copyright (C) Microsoft Corporation 2007. All rights reserved. + +Build started 27/01/2012 11:31:31. +Project "c:\Projects\agilex.persistence\src\agilex.persistence.nhibernate\agilex.persistence.nhibernate.csproj" on node 1 (default targets). +Project "c:\Projects\agilex.persistence\src\agilex.persistence.nhibernate\agilex.persistence.nhibernate.csproj" (1) is building "c:\Projects\agilex.persistence\src\agilex.persistence\agilex.persistence.csproj" (2) on node 1 (default targets). +GenerateTargetFrameworkMonikerAttribute: +Skipping target "GenerateTargetFrameworkMonikerAttribute" because all output files are up-to-date with respect to the input files. +CoreCompile: + C:\Windows\Microsoft.NET\Framework\v4.0.30319\Csc.exe /noconfig /nowarn:1701,1702 /nostdlib+ /errorreport:prompt /warn:4 /define:TRACE /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Microsoft.CSharp.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\mscorlib.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Core.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.DataSetExtensions.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.Linq.dll" /debug:pdbonly /filealign:512 /optimize+ /out:obj\Release\agilex.persistence.dll /target:library IRepositoryLocator.cs DatabaseConfigurationParams.cs EntityNotFoundException.cs IDatabaseConfigurationParams.cs IRepository.cs IRepositoryFactory.cs Properties\AssemblyInfo.cs "d:\Users2\nic\AppData\Local\Temp\.NETFramework,Version=v4.0.AssemblyAttributes.cs" +CopyFilesToOutputDirectory: + Copying file from "obj\Release\agilex.persistence.dll" to "bin\Release\agilex.persistence.dll". + agilex.persistence -> c:\Projects\agilex.persistence\src\agilex.persistence\bin\Release\agilex.persistence.dll + Copying file from "obj\Release\agilex.persistence.pdb" to "bin\Release\agilex.persistence.pdb". +Done Building Project "c:\Projects\agilex.persistence\src\agilex.persistence\agilex.persistence.csproj" (default targets). +GenerateTargetFrameworkMonikerAttribute: +Skipping target "GenerateTargetFrameworkMonikerAttribute" because all output files are up-to-date with respect to the input files. +CoreCompile: + C:\Windows\Microsoft.NET\Framework\v4.0.30319\Csc.exe /noconfig /nowarn:1701,1702 /nostdlib+ /errorreport:prompt /warn:4 /define:TRACE /reference:c:\Projects\agilex.persistence\src\agilex.persistence\bin\Release\agilex.persistence.dll /reference:c:\Projects\agilex.persistence\src\packages\Castle.Core.2.5.2\lib\NET35\Castle.Core.dll /reference:c:\Projects\agilex.persistence\src\packages\FluentNHibernate.1.2.0.712\lib\FluentNHibernate.dll /reference:c:\Projects\agilex.persistence\src\packages\Iesi.Collections.3.1.0.4000\lib\Net35\Iesi.Collections.dll /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Microsoft.CSharp.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\mscorlib.dll" /reference:c:\Projects\agilex.persistence\src\packages\NHibernate.Castle.3.1.0.4000\lib\Net35\NHibernate.ByteCode.Castle.dll /reference:c:\Projects\agilex.persistence\src\packages\NHibernate.3.1.0.4000\lib\Net35\NHibernate.dll /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Core.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.DataSetExtensions.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.Linq.dll" /debug:pdbonly /filealign:512 /optimize+ /out:obj\Release\agilex.persistence.nhibernate.dll /target:library NhibernateConfiguration.cs Properties\AssemblyInfo.cs Repository.cs RepositoryFactory.cs "d:\Users2\nic\AppData\Local\Temp\.NETFramework,Version=v4.0.AssemblyAttributes.cs" +_CopyFilesMarkedCopyLocal: + Copying file from "c:\Projects\agilex.persistence\src\agilex.persistence\bin\Release\agilex.persistence.dll" to "bin\Release\agilex.persistence.dll". + Copying file from "c:\Projects\agilex.persistence\src\agilex.persistence\bin\Release\agilex.persistence.pdb" to "bin\Release\agilex.persistence.pdb". +CopyFilesToOutputDirectory: + Copying file from "obj\Release\agilex.persistence.nhibernate.dll" to "bin\Release\agilex.persistence.nhibernate.dll". + agilex.persistence.nhibernate -> c:\Projects\agilex.persistence\src\agilex.persistence.nhibernate\bin\Release\agilex.persistence.nhibernate.dll + Copying file from "obj\Release\agilex.persistence.nhibernate.pdb" to "bin\Release\agilex.persistence.nhibernate.pdb". +Done Building Project "c:\Projects\agilex.persistence\src\agilex.persistence.nhibernate\agilex.persistence.nhibernate.csproj" (default targets). + +Build succeeded. + 0 Warning(s) + 0 Error(s) + +Time Elapsed 00:00:00.34 diff --git a/src/packages/agilex.persistence.1.0.0.12/lib/net40/agilex.persistence.dll b/src/packages/agilex.persistence.1.0.0.12/lib/net40/agilex.persistence.dll new file mode 100644 index 0000000..a293588 Binary files /dev/null and b/src/packages/agilex.persistence.1.0.0.12/lib/net40/agilex.persistence.dll differ diff --git a/src/packages/agilex.persistence.1.0.0.12/lib/net40/agilex.persistence.nhibernate.dll b/src/packages/agilex.persistence.1.0.0.12/lib/net40/agilex.persistence.nhibernate.dll new file mode 100644 index 0000000..3a476e8 Binary files /dev/null and b/src/packages/agilex.persistence.1.0.0.12/lib/net40/agilex.persistence.nhibernate.dll differ diff --git a/src/packages/agilex.persistence.1.0.0.9/agilex.persistence.1.0.0.9.nupkg b/src/packages/agilex.persistence.1.0.0.9/agilex.persistence.1.0.0.9.nupkg deleted file mode 100644 index 0045ef9..0000000 Binary files a/src/packages/agilex.persistence.1.0.0.9/agilex.persistence.1.0.0.9.nupkg and /dev/null differ diff --git a/src/packages/agilex.persistence.1.0.0.9/build_log.txt b/src/packages/agilex.persistence.1.0.0.9/build_log.txt deleted file mode 100644 index a428093..0000000 --- a/src/packages/agilex.persistence.1.0.0.9/build_log.txt +++ /dev/null @@ -1,34 +0,0 @@ -Microsoft (R) Build Engine Version 4.0.30319.1 -[Microsoft .NET Framework, Version 4.0.30319.239] -Copyright (C) Microsoft Corporation 2007. All rights reserved. - -Build started 18/01/2012 10:15:48. -Project "i:\agilex.persistence\src\agilex.persistence.nhibernate\agilex.persistence.nhibernate.csproj" on node 1 (default targets). -Project "i:\agilex.persistence\src\agilex.persistence.nhibernate\agilex.persistence.nhibernate.csproj" (1) is building "i:\agilex.persistence\src\agilex.persistence\agilex.persistence.csproj" (2) on node 1 (default targets). -GenerateTargetFrameworkMonikerAttribute: -Skipping target "GenerateTargetFrameworkMonikerAttribute" because all output files are up-to-date with respect to the input files. -CoreCompile: - C:\Windows\Microsoft.NET\Framework\v4.0.30319\Csc.exe /noconfig /nowarn:1701,1702 /nostdlib+ /errorreport:prompt /warn:4 /define:TRACE /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Microsoft.CSharp.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\mscorlib.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Core.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.DataSetExtensions.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.Linq.dll" /debug:pdbonly /filealign:512 /optimize+ /out:obj\Release\agilex.persistence.dll /target:library DatabaseConfigurationParams.cs EntityNotFoundException.cs IDatabaseConfigurationParams.cs IRepository.cs IRepositoryFactory.cs Properties\AssemblyInfo.cs "d:\Users2\nic\AppData\Local\Temp\.NETFramework,Version=v4.0.AssemblyAttributes.cs" -CopyFilesToOutputDirectory: - Copying file from "obj\Release\agilex.persistence.dll" to "bin\Release\agilex.persistence.dll". - agilex.persistence -> i:\agilex.persistence\src\agilex.persistence\bin\Release\agilex.persistence.dll - Copying file from "obj\Release\agilex.persistence.pdb" to "bin\Release\agilex.persistence.pdb". -Done Building Project "i:\agilex.persistence\src\agilex.persistence\agilex.persistence.csproj" (default targets). -GenerateTargetFrameworkMonikerAttribute: -Skipping target "GenerateTargetFrameworkMonikerAttribute" because all output files are up-to-date with respect to the input files. -CoreCompile: - C:\Windows\Microsoft.NET\Framework\v4.0.30319\Csc.exe /noconfig /nowarn:1701,1702 /nostdlib+ /errorreport:prompt /warn:4 /define:TRACE /reference:i:\agilex.persistence\src\agilex.persistence\bin\Release\agilex.persistence.dll /reference:i:\agilex.persistence\src\packages\Castle.Core.2.5.2\lib\NET35\Castle.Core.dll /reference:i:\agilex.persistence\src\packages\FluentNHibernate.1.2.0.712\lib\FluentNHibernate.dll /reference:i:\agilex.persistence\src\packages\Iesi.Collections.3.1.0.4000\lib\Net35\Iesi.Collections.dll /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Microsoft.CSharp.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\mscorlib.dll" /reference:i:\agilex.persistence\src\packages\NHibernate.Castle.3.1.0.4000\lib\Net35\NHibernate.ByteCode.Castle.dll /reference:i:\agilex.persistence\src\packages\NHibernate.3.1.0.4000\lib\Net35\NHibernate.dll /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Core.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.DataSetExtensions.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.Linq.dll" /debug:pdbonly /filealign:512 /optimize+ /out:obj\Release\agilex.persistence.nhibernate.dll /target:library NhibernateConfiguration.cs Properties\AssemblyInfo.cs Repository.cs RepositoryFactory.cs "d:\Users2\nic\AppData\Local\Temp\.NETFramework,Version=v4.0.AssemblyAttributes.cs" -_CopyFilesMarkedCopyLocal: - Copying file from "i:\agilex.persistence\src\agilex.persistence\bin\Release\agilex.persistence.dll" to "bin\Release\agilex.persistence.dll". - Copying file from "i:\agilex.persistence\src\agilex.persistence\bin\Release\agilex.persistence.pdb" to "bin\Release\agilex.persistence.pdb". -CopyFilesToOutputDirectory: - Copying file from "obj\Release\agilex.persistence.nhibernate.dll" to "bin\Release\agilex.persistence.nhibernate.dll". - agilex.persistence.nhibernate -> i:\agilex.persistence\src\agilex.persistence.nhibernate\bin\Release\agilex.persistence.nhibernate.dll - Copying file from "obj\Release\agilex.persistence.nhibernate.pdb" to "bin\Release\agilex.persistence.nhibernate.pdb". -Done Building Project "i:\agilex.persistence\src\agilex.persistence.nhibernate\agilex.persistence.nhibernate.csproj" (default targets). - -Build succeeded. - 0 Warning(s) - 0 Error(s) - -Time Elapsed 00:00:06.10 diff --git a/src/packages/agilex.persistence.1.0.0.9/lib/net40/agilex.persistence.dll b/src/packages/agilex.persistence.1.0.0.9/lib/net40/agilex.persistence.dll deleted file mode 100644 index 72cbe58..0000000 Binary files a/src/packages/agilex.persistence.1.0.0.9/lib/net40/agilex.persistence.dll and /dev/null differ diff --git a/src/packages/agilex.persistence.1.0.0.9/lib/net40/agilex.persistence.nhibernate.dll b/src/packages/agilex.persistence.1.0.0.9/lib/net40/agilex.persistence.nhibernate.dll deleted file mode 100644 index 081af94..0000000 Binary files a/src/packages/agilex.persistence.1.0.0.9/lib/net40/agilex.persistence.nhibernate.dll and /dev/null differ