using System;using System.Collections.Generic;using System.Collections.Generic;namespace GenApp.Dh{/// <summary>/// Provides simple wrapping around generated single item /// for less refactoring during swaping of DAL generation libs/// </summary>public class HolderForItem<T>
{private T _Item ; public void SetItem (T item)
{this._Item = (T)item;} //eof Setpublic T GetItem(){return (T)_Item;} //eof } //eof class } //eof namespace
No comments:
Post a Comment
- the first minus - Comments have to be moderated because of the spammers
- the second minus - I am very lazy at moderating comments ... hardly find time ...
- the third minus - Short links are no good for security ...
- The REAL PLUS : Any critic and positive feedback is better than none, so your comments will be published sooner or later !!!!