C# Class ActivEarth.DAO.CarpoolDAO

ファイルを表示 Open project: mlcamilli/ActivEarth

Public Methods

Method Description
AddCarpool ( Carpool carpool, string &errorMessage ) : int

Adds a new Carpool to the database.

GetCarpools ( ) : List

Retrieves the collection of all carpools submitted to the server.

Method Details

AddCarpool() public static method

Adds a new Carpool to the database.
public static AddCarpool ( Carpool carpool, string &errorMessage ) : int
carpool ActivEarth.Objects.Carpool Carpool to add to the database.
errorMessage string
return int

GetCarpools() public static method

Retrieves the collection of all carpools submitted to the server.
public static GetCarpools ( ) : List
return List