C# Class E_Handel.BL.BLOrder

显示文件 Open project: KodKnackarGanget/E-Handel Class Usage Examples

Public Methods

Method Description
BLOrder ( double postage, double totalPrice, string address, string postalCode, string city, string country, string email, string telephone, string paymentOptions, string deliveryOptions, string name, string surname, List cartProducts, int accountId = -1 ) : System.Collections.Generic
InsertIntoDB ( string databaseConnectionString ) : void
RetrieveFromDB ( string databaseConnectionString, int id ) : BLOrder
ToString ( ) : string

Method Details

BLOrder() public method

public BLOrder ( double postage, double totalPrice, string address, string postalCode, string city, string country, string email, string telephone, string paymentOptions, string deliveryOptions, string name, string surname, List cartProducts, int accountId = -1 ) : System.Collections.Generic
postage double
totalPrice double
address string
postalCode string
city string
country string
email string
telephone string
paymentOptions string
deliveryOptions string
name string
surname string
cartProducts List
accountId int
return System.Collections.Generic

InsertIntoDB() public method

public InsertIntoDB ( string databaseConnectionString ) : void
databaseConnectionString string
return void

RetrieveFromDB() public static method

public static RetrieveFromDB ( string databaseConnectionString, int id ) : BLOrder
databaseConnectionString string
id int
return BLOrder

ToString() public method

public ToString ( ) : string
return string