Click here to Skip to main content
12,764,784 members (39,506 online)
Click here to Skip to main content
Articles » Database » Database » ADO.NET » Downloads

Stats

196.8K views
1.4K downloads
86 bookmarked
Posted 22 Oct 2001

Declarative Transactions using ADO.NET and without Enterprise Services.

, 26 Oct 2001
Sometimes it is nice to prototype up a simple database application. This code may help, by providing the automatic transactional model of COM+ in a non-COM+ environment. This example uses "Interception" to provide automatic transactioning support for non-COM+ classes.
codeproject_template
TransactionAttribute
bin
Debug
obj
Debug
temp
TempPE
TransactionAttribute.csproj.user
TransactionExample
bin
Debug
obj
Debug
temp
TempPE
TransactionExample.csproj.user
TransactionExample.suo
Microsoft Visual Studio Solution File, Format Version 7.00
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TransactionExample", "TransactionExample.csproj", "{AB6343C8-CFC4-44B0-A679-F461C5349D71}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TransactionAttribute", "..\TransactionAttribute\TransactionAttribute.csproj", "{E5D986EC-9E1E-4382-92B0-559DC34CF601}"
EndProject
Global
	GlobalSection(SolutionConfiguration) = preSolution
		ConfigName.0 = Debug
		ConfigName.1 = Release
	EndGlobalSection
	GlobalSection(ProjectDependencies) = postSolution
	EndGlobalSection
	GlobalSection(ProjectConfiguration) = postSolution
		{AB6343C8-CFC4-44B0-A679-F461C5349D71}.Debug.ActiveCfg = Debug|.NET
		{AB6343C8-CFC4-44B0-A679-F461C5349D71}.Debug.Build.0 = Debug|.NET
		{AB6343C8-CFC4-44B0-A679-F461C5349D71}.Release.ActiveCfg = Release|.NET
		{AB6343C8-CFC4-44B0-A679-F461C5349D71}.Release.Build.0 = Release|.NET
		{E5D986EC-9E1E-4382-92B0-559DC34CF601}.Debug.ActiveCfg = Debug|.NET
		{E5D986EC-9E1E-4382-92B0-559DC34CF601}.Debug.Build.0 = Debug|.NET
		{E5D986EC-9E1E-4382-92B0-559DC34CF601}.Release.ActiveCfg = Release|.NET
		{E5D986EC-9E1E-4382-92B0-559DC34CF601}.Release.Build.0 = Release|.NET
	EndGlobalSection
	GlobalSection(ExtensibilityGlobals) = postSolution
	EndGlobalSection
	GlobalSection(ExtensibilityAddIns) = postSolution
	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 has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

Share

About the Author

Sandy Place
Canada Canada
No Biography provided

You may also be interested in...

Pro
Pro
Permalink | Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.170217.1 | Last Updated 27 Oct 2001
Article Copyright 2001 by Sandy Place
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid