Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

Simple NHibernate Architecture

, 11 Sep 2012 CPOL
An article showing a nice architecture I've come up for using NHibernate
nhibernatesample.zip
NHibernateSample
Business
bin
Debug
Business.dll
Business.pdb
Castle.DynamicProxy.dll
Iesi.Collections.dll
log4net.dll
NHibernate.dll
Shared.NHibernateDAL.dll
Shared.NHibernateDAL.pdb
NHibernateDAL.cd
obj
Debug
Business.dll
Business.pdb
ResolveAssemblyReference.cache
TempPE
Properties
NHibernateDAL
bin
Debug
Castle.DynamicProxy.dll
Iesi.Collections.dll
log4net.dll
NHibernate.dll
NHibernateDAL.dll
NHibernateDAL.pdb
Shared.NHibernateDAL.dll
Shared.NHibernateDAL.pdb
mssccprj.scc
NHibernateDAL.csproj.vspscc
obj
Debug
NHibernateDAL.dll
NHibernateDAL.pdb
Refactor
NHibernateDAL.dll
Shared.NHibernateDAL.dll
ResolveAssemblyReference.cache
Shared.NHibernateDAL.dll
Shared.NHibernateDAL.pdb
TempPE
Properties
vssver2.scc
Shared.NHibernateDAL.csproj.vspscc
vssver2.scc
Web
App_Data
Bin
Business.dll
Business.pdb
Castle.DynamicProxy.dll
Iesi.Collections.dll
log4net.dll
NHibernate.dll
Shared.NHibernateDAL.dll
Shared.NHibernateDAL.pdb

Microsoft Visual Studio Solution File, Format Version 9.00
# Visual Studio 2005
Project("{E24C65DC-7377-472B-9ABA-BC803B73C61A}") = "C:\...\Web\", "Web\", "{24B218F9-320A-4175-B2C3-13E3F874369E}"
	ProjectSection(WebsiteProperties) = preProject
		Debug.AspNetCompiler.VirtualPath = "/Web"
		Debug.AspNetCompiler.PhysicalPath = "..\..\..\..\Desktop\NHibernateSample\NHibernateSample\Web\"
		Debug.AspNetCompiler.TargetPath = "PrecompiledWeb\Web\"
		Debug.AspNetCompiler.Updateable = "true"
		Debug.AspNetCompiler.ForceOverwrite = "true"
		Debug.AspNetCompiler.FixedNames = "false"
		Debug.AspNetCompiler.Debug = "True"
		Release.AspNetCompiler.VirtualPath = "/Web"
		Release.AspNetCompiler.PhysicalPath = "..\..\..\..\Desktop\NHibernateSample\NHibernateSample\Web\"
		Release.AspNetCompiler.TargetPath = "PrecompiledWeb\Web\"
		Release.AspNetCompiler.Updateable = "true"
		Release.AspNetCompiler.ForceOverwrite = "true"
		Release.AspNetCompiler.FixedNames = "false"
		Release.AspNetCompiler.Debug = "False"
		VWDPort = "3601"
	EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Shared.NHibernateDAL", "NHibernateDAL\Shared.NHibernateDAL.csproj", "{4D8D4B76-C721-43FF-9C9D-3DA5654FCE42}"
	ProjectSection(WebsiteProperties) = preProject
		Debug.AspNetCompiler.Debug = "True"
		Release.AspNetCompiler.Debug = "False"
	EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Business", "Business\Business.csproj", "{7BDE3FCD-CA41-4774-AAA0-67AC1B719E82}"
	ProjectSection(WebsiteProperties) = preProject
		Debug.AspNetCompiler.Debug = "True"
		Release.AspNetCompiler.Debug = "False"
	EndProjectSection
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|.NET = Debug|.NET
		Debug|Any CPU = Debug|Any CPU
		Debug|Mixed Platforms = Debug|Mixed Platforms
		Release|.NET = Release|.NET
		Release|Any CPU = Release|Any CPU
		Release|Mixed Platforms = Release|Mixed Platforms
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{24B218F9-320A-4175-B2C3-13E3F874369E}.Debug|.NET.ActiveCfg = Debug|.NET
		{24B218F9-320A-4175-B2C3-13E3F874369E}.Debug|.NET.Build.0 = Debug|.NET
		{24B218F9-320A-4175-B2C3-13E3F874369E}.Debug|Any CPU.ActiveCfg = Debug|.NET
		{24B218F9-320A-4175-B2C3-13E3F874369E}.Debug|Mixed Platforms.ActiveCfg = Debug|.NET
		{24B218F9-320A-4175-B2C3-13E3F874369E}.Debug|Mixed Platforms.Build.0 = Debug|.NET
		{24B218F9-320A-4175-B2C3-13E3F874369E}.Release|.NET.ActiveCfg = Debug|.NET
		{24B218F9-320A-4175-B2C3-13E3F874369E}.Release|.NET.Build.0 = Debug|.NET
		{24B218F9-320A-4175-B2C3-13E3F874369E}.Release|Any CPU.ActiveCfg = Debug|.NET
		{24B218F9-320A-4175-B2C3-13E3F874369E}.Release|Mixed Platforms.ActiveCfg = Debug|.NET
		{24B218F9-320A-4175-B2C3-13E3F874369E}.Release|Mixed Platforms.Build.0 = Debug|.NET
		{4D8D4B76-C721-43FF-9C9D-3DA5654FCE42}.Debug|.NET.ActiveCfg = Debug|Any CPU
		{4D8D4B76-C721-43FF-9C9D-3DA5654FCE42}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{4D8D4B76-C721-43FF-9C9D-3DA5654FCE42}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{4D8D4B76-C721-43FF-9C9D-3DA5654FCE42}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
		{4D8D4B76-C721-43FF-9C9D-3DA5654FCE42}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
		{4D8D4B76-C721-43FF-9C9D-3DA5654FCE42}.Release|.NET.ActiveCfg = Release|Any CPU
		{4D8D4B76-C721-43FF-9C9D-3DA5654FCE42}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{4D8D4B76-C721-43FF-9C9D-3DA5654FCE42}.Release|Any CPU.Build.0 = Release|Any CPU
		{4D8D4B76-C721-43FF-9C9D-3DA5654FCE42}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
		{4D8D4B76-C721-43FF-9C9D-3DA5654FCE42}.Release|Mixed Platforms.Build.0 = Release|Any CPU
		{7BDE3FCD-CA41-4774-AAA0-67AC1B719E82}.Debug|.NET.ActiveCfg = Debug|Any CPU
		{7BDE3FCD-CA41-4774-AAA0-67AC1B719E82}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{7BDE3FCD-CA41-4774-AAA0-67AC1B719E82}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{7BDE3FCD-CA41-4774-AAA0-67AC1B719E82}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
		{7BDE3FCD-CA41-4774-AAA0-67AC1B719E82}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
		{7BDE3FCD-CA41-4774-AAA0-67AC1B719E82}.Release|.NET.ActiveCfg = Release|Any CPU
		{7BDE3FCD-CA41-4774-AAA0-67AC1B719E82}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{7BDE3FCD-CA41-4774-AAA0-67AC1B719E82}.Release|Any CPU.Build.0 = Release|Any CPU
		{7BDE3FCD-CA41-4774-AAA0-67AC1B719E82}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
		{7BDE3FCD-CA41-4774-AAA0-67AC1B719E82}.Release|Mixed Platforms.Build.0 = Release|Any CPU
	EndGlobalSection
	GlobalSection(SolutionProperties) = preSolution
		HideSolutionNode = FALSE
	EndGlobalSection
EndGlobal

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Cassio Mosqueira
Software Developer (Senior) Intelligent Coder
Canada Canada
I've been developing .NET enterprise applications since 2000.
 
I am originally from Rio de Janeiro and I am currently working at http://www.intelligentcoder.com in Ontario.

| Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.141223.1 | Last Updated 11 Sep 2012
Article Copyright 2007 by Cassio Mosqueira
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid