Design Pattern Framework 3.5
BusinessObject Class
Patterns-In-Action! Application ► BusinessObjects ► BusinessObject
Abstract base class for business objects.
Contains basic business rule infrastructure.

C# | Visual Basic |
public abstract class BusinessObject
Public MustInherit Class BusinessObject

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) | (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()()() | (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.
|