Provider Class

Design Pattern Framework 3.5

Design Pattern Framework 3.5 Provider Class
Patterns-In-Action! ApplicationWPFModel.ProviderProvider
Implementation of provider interface to (data) Services.
Declaration Syntax
C# Visual Basic
public class Provider : IProvider
Public Class Provider _
	Implements IProvider
Members
All Members Constructors Methods



Icon Member Description
Provider()()()
Initializes a new instance of the Provider class

AddCustomer(CustomerModel)
Adds a new customer to the database.

DeleteCustomer(Int32)
Deletes a customer record.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetCustomer(Int32)
Gets a specific customer.

GetCustomers(String)
Gets an observable collection of all customers in the given sort order.

GetHashCode()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetOrders(Int32)
Gets an observable collection of orders for a given customer.

GetType()()()
Gets the Type of the current instance.
(Inherited from Object.)
Login(String, String)
Logs in to the service.

Logout()()()
Logs out of the service.

MemberwiseClone()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
ToString()()()
Returns a String that represents the current Object.
(Inherited from Object.)
UpdateCustomer(CustomerModel)
Updates an existing customer in the database.

Inheritance Hierarchy
Object
Provider

Assembly: WPFModel (Module: WPFModel) Version: 1.0.0.0 (1.0.0.0)