Class busCustomer

The customer business object contains all information about address and contact info as well as some minimal tracking information. This object is also used for the customer's profile information which is mapped directly via a cookie id or via custom logins.

Maps to the wws_customers table.

System.Object
  System.MarshalByRefObject
    Westwind.BusinessObjects.wwBusiness
      <b>Westwind.WebStore.busCustomer</b>
public class busCustomer : wwBusiness

Class Members

MemberDescription

DeleteInvoices

Deletes all related invoices

public bool DeleteInvoices();

GetAddress

Returns address information as a single string

public string GetAddress();

GetCustomerList

Returns a customer list.

public int GetCustomerList( string Fields,
    string Order,
    string CursorName );

GetInvoicePks

Returns a count of invoices. Creates a table called InvoicePks that contains all the PKs for this Customer

public int GetInvoicePks();

GetTypedDataRow

Returns a typed datarow of wws_customersRow which is a generated class in DataRowContainers. This wrapper provides a typed interface to the current DataRow member.

public DataRowContainers.wws_customersRow GetTypedDataRow(bool LoadColumns)

public wws_customersRow GetTypedDataRow();

LoadByEmailAndPassword

Returns a customer records based on a email and password

public bool LoadByEmailAndPassword(string Email, string Password)

LoadByUserId

Loads a customer by user id. This userid is a Cookie in the Web application

public Boolean LoadByUserId(String lcUserId)

New

Retrieves a new DataRow object and overrides several properties.

public virtual bool New();

Save

Saves the current DataRow and updates several fields.

public virtual bool Save();

Validate

Validates the current Customer record

public virtual bool Validate();

ShippingAddress

Requirements

Namespace: Westwind.WebStore
Assembly: webstorebusiness.dll

© West Wind Technologies, 1996-2018 • Updated: 05/04/05
Comment or report problem with topic