Click here to Skip to main content
11,639,554 members (65,474 online)
Click here to Skip to main content
Add your own
alternative version

A Transactional Repository Implementation in .NET

, 26 Nov 2008 CPOL 26.1K 478 38
A Transactional Enterprise Caching Application Block implementation.
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Runtime.Serialization;
using System.Runtime.Serialization.Formatters.Binary;
using System.Text;

namespace CachingAppBlock.Transactional
    public static class AttackOfTheClonesFactory
        public static object Clone(object source)
            return null;
         IFormatter formatter = new BinaryFormatter();
         using (Stream stream = new MemoryStream())
            return formatter.Deserialize(stream);

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.


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


About the Author

Vitaliy Liptchinsky
Technical Lead bwin Interactive Entertainment AG
Austria Austria
The views expressed in my articles are mine and do not necessarily reflect the views of my employer.

SendMessage(string.Format("{0}@{1}.com", "liptchinski_vit", "yahoo"));

More info in my LinkedIn profile:

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.150731.1 | Last Updated 26 Nov 2008
Article Copyright 2008 by Vitaliy Liptchinsky
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid