Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.DomainModel Namespace / BaseObject Class
Methods


Version
BaseObject Class Members

The following tables list the members exposed by BaseObject.

Public Methods
 NameDescription
Public Method Determines if this object instance is equal to another.  
Public MethodServes as the default hash function.  
Public Method Gets the signature properties for the class type.  
Public Method You may override this method to provide your own comparison routine.  
Top
Protected Methods
 NameDescription
Protected Method Enforces the template method pattern to have child objects determine which specific properties should and should not be included in the object signature comparison. Note that the the BaseObject already takes care of performance caching, so this method shouldn't worry about caching...just return the goods man!  
Protected Method

When NHibernate proxies objects, it masks the type of the actual entity object. This wrapper burrows into the proxied object to get its actual type.

Although this assumes NHibernate is being used, it doesn't require any NHibernate related dependencies and has no bad side effects if NHibernate isn't being used.

Related discussion is at http://groups.google.com/group/sharp-architecture/browse_thread/thread/ddd05f9baede023a ...thanks Jay Oliver!

 
Top
Extension Methods
 NameDescription
Public Extension MethodOverloaded.  Use this method to bulid query string from NameValueCollection
Top
See Also