Design Pattern Framework 3.5
UpdateCustomer Method (customer)
Patterns-In-Action! Application ► WindowsFormsModel ► Model ► UpdateCustomer(CustomerModel)
Updates an existing customer in the database.
Declaration Syntax
C# | Visual Basic |
public int UpdateCustomer( CustomerModel customer )
Public Function UpdateCustomer ( _ customer As CustomerModel _ ) As Integer
Parameters
- customer (CustomerModel)
- The updated customer.
Return Value
Number or records affected. Should be 1.