Class CountryBusinessObject

This class provides functionality to manipulate country information

System.Object
  EPS.Business.BusinessObjects.BusinessObject
    EPS.Business.Names.CountryBusinessObject

public class CountryBusinessObject : BusinessObject

Class Members

MemberDescription
Constructor Constructor
GetAnyCountryID Returns the ID of a random country (usually the first in the database).
public Guid GetAnyCountryID();
GetCountryIDByCode Returns the primary key of the country identified by its code.
public Guid GetCountryIDByCode( string countryCode );
GetCountryNameByISORegion Returns the name of a country based on the 2-digit ISO region code.
public virtual string GetCountryNameByISORegion( string isoRegion );
GetStatesByCountryID Returns all states for a certain country.
public DataSet GetStatesByCountryID( Guid countryId );

Requirements

Namespace: EPS.Business.Names
Assembly: NAMEBUSINESSOBJECT.DLL


  Last Updated: 5/23/2007 | © , 2007