Design Pattern Framework 3.5
GetCustomers Method (sortExpression)
Patterns-In-Action! Application ► WPFModel.Provider ► Provider ► GetCustomers(String)
Gets an observable collection of all customers in the given sort order.
Declaration Syntax
C# | Visual Basic |
public ObservableCollection<CustomerModel> GetCustomers( string sortExpression )
Public Function GetCustomers ( _ sortExpression As String _ ) As ObservableCollection(Of CustomerModel)
Parameters
- sortExpression (String)
- Sort order.
Return Value
List of customers.