Custom Business Objects
A Custom Business Object (CBO) is essentially a blueprint, or representation, of an object that is important to the application.
The FileInfo class has no methods, only properties. This is an important distinction to recognize — CBOs only have properties. The methods to manage the CBO are in a CBO Controller class specific to the CBO. A CBO Controller class contains the business logic necessary to work with its associated CBO class.
CBO Hydrator
One powerful core service is the CBO Hydrator, which is located in the CBO class in /components/ Shared/CBO.vb. It is a collection of methods that provide a centralized means of hydrating a CBO or a collection of CBOs.
Using the CBO Hydrator significantly reduces the amount of code needed to fill an object or collection of objects.--
Happy day, happy life!
No comments:
Post a Comment