Design Pattern Framework 3.5
GetOrders Method (customerId)
Patterns-In-Action! Application ► WindowsFormsModel ► Model ► GetOrders(Int32)
Gets a list of orders for a given customer.
Declaration Syntax| C# | Visual Basic |
public IList<OrderModel> GetOrders( int customerId )
Public Function GetOrders ( _ customerId As Integer _ ) As IList(Of OrderModel)
Parameters- customerId (Int32)
- Unique customer identifier.
Return ValueList of orders.