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