CodePaste Logo
New Snippet New Snippet Recent Snippets Recent Snippets My Snippets My Snippets Web Code Search Snippets Search
Sign inor Register
Language: C#

BusinessObjectManagerNull

177 Views
Copy Code Show/Hide Line Numbers
/// <summary>
/// This is a Business Object Manager that can be used for ASP and similarly stateless environments.
/// </summary>
public class BusinessObjectManagerNull : BusinessObjectManager
{
    public override void Add(IBusinessObject businessObject)
    {
        //DO Nothing
    }
 
    public override IBusinessObject this[Guid objectID]
    {
        get { return null; }
    }
 
    public override IBusinessObject this[IPrimaryKey objectID]
    {
        get { return null;}
    }
}
by Brett Powell
  May 31, 2010 @ 12:58pm
Tags:
Description:
Null Business Object Manager used for Habanero Enterprise Application framework

Add a comment


Report Abuse
brought to you by:
West Wind Techologies



If you find this site useful and use it frequently please consider making a donation to support this free service.
Donate