This class serves as a Class Factory for the business object classes to allow a single point of providing a class. This allows easy specification of custom subclasses of the business objects to be used.
Internally the WebStore application never instantiates business objects directly but uses these factory classes. If one of the business objects is subclassed to extend functionality only the Factory class needs to be updated and return this subclass instead of the WebStore base business class.
<b>Westwind.WebStore.WebStoreFactory</b>
public class WebStoreFactory : object
Class Members
Member | Description | |
---|---|---|
GetbusCustomer |
Return a new instance of the busCustomer class. public static busCustomer GetbusCustomer(); |
|
GetbusInvoice |
Return a new instance of the busInvoice class. public static busInvoice GetbusInvoice(); |
|
GetbusItem |
Returns a new instance of the busInventory class. public static busItem GetbusItem(); |
|
GetbusLineItem |
Return a new instance of the busLineItem class. public static busLineItem GetbusLineItem(); |
|
GetbusLookups |
Return a new instance of the busLookups class. public static busLookups GetbusLookups(); |
|
GetbusShippingAddress |
Return a new instance of the busCustomer class. public static busShippingAddress GetbusShippingAddress(); |
|
GetbusTLineItem |
Return a new instance of the busTLineItem class. public static busTLineItem GetbusTLineItem(); |
Requirements
Namespace: Westwind.WebStoreAssembly: webstorebusiness.dll
© West Wind Technologies, 1996-2018 • Updated: 05/04/05
Comment or report problem with topic