struct Versionable<T>

Posts   
 
    
dals
User
Posts: 17
Joined: 10-Jul-2006
# Posted on: 18-Jul-2007 19:34:06   

Hi,

This is a type I created to help a frind of mine.. Since I liked the result, I would like to share it with you guys (DB guys) and know what you think...

http://thespoke.net/blogs/dalssoft/archive/2007/06/12/987577.aspx


            testVO.String1 = "s"; 
            testVO.String1 = "B";

            string s1Implicit = testVO.String1;
            string s1Old = testVO.String1.OldValue;


    class TestVO
    {
        private Versionable<string> _string1;

        public Versionable<string> String1
        {
            get { return _string1; }
            set { _string1.Value = value.Value; }
        }
    }


Dals