Design Pattern Framework 3.5
AddCustomer Method (customer)
Patterns-In-Action! Application ► WindowsFormsModel ► Model ► AddCustomer(CustomerModel)
Adds a new customer to the database.
Declaration Syntax
C# | Visual Basic |
public int AddCustomer( CustomerModel customer )
Public Function AddCustomer ( _ customer As CustomerModel _ ) As Integer
Parameters
- customer (CustomerModel)
- Customer.
Return Value
Number of records affected. If all worked well, then should be 1.