BusinessObject Class

Design Pattern Framework 3.5

Design Pattern Framework 3.5 BusinessObject Class
Patterns-In-Action! ApplicationBusinessObjectsBusinessObject
Abstract base class for business objects. Contains basic business rule infrastructure.
Declaration Syntax
C# Visual Basic
public abstract class BusinessObject
Public MustInherit Class BusinessObject
Members
All Members Constructors Methods Properties Fields



Icon Member Description
BusinessObject()()()
Initializes a new instance of the BusinessObject class

_versionDefault
Default value for version number (used in LINQ's optimistic concurrency)

AddRule(BusinessRule)
Adds a business rule to the business object.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()
Gets the Type of the current instance.
(Inherited from Object.)
MemberwiseClone()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
ToString()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Validate()()()
Determines whether business rules are valid or not. Creates a list of validation errors when appropriate.

ValidationErrors
Gets list of validations errors.

Inheritance Hierarchy
Object
BusinessObject
  Category
  Customer
  Order
  OrderDetail
  Product

Assembly: BusinessObjects (Module: BusinessObjects) Version: 1.0.0.0 (1.0.0.0)