C# Class PAZMySQL.DaytimeMapper

Inheritance: Mapper
Show file Open project: PAZ-MI4Ie/PAZ

Public Methods

Method Description
DaytimeMapper ( MysqlDb db ) : System
Find ( int id ) : Daytime
Find ( string date, int timeslot ) : Daytime
FindAll ( ) : List
FindWithDate ( string date ) : List
ProcessRow ( Daytime daytime, MySqlDataReader Reader ) : Daytime
ProcessRow ( Daytime daytime, MySqlDataReader Reader, int offset ) : Daytime
Save ( Daytime daytime ) : int

Method Details

DaytimeMapper() public method

public DaytimeMapper ( MysqlDb db ) : System
db MysqlDb
return System

Find() public method

public Find ( int id ) : Daytime
id int
return PAZ.Model.Daytime

Find() public method

public Find ( string date, int timeslot ) : Daytime
date string
timeslot int
return PAZ.Model.Daytime

FindAll() public method

public FindAll ( ) : List
return List

FindWithDate() public method

public FindWithDate ( string date ) : List
date string
return List

ProcessRow() public method

public ProcessRow ( Daytime daytime, MySqlDataReader Reader ) : Daytime
daytime PAZ.Model.Daytime
Reader MySql.Data.MySqlClient.MySqlDataReader
return PAZ.Model.Daytime

ProcessRow() public method

public ProcessRow ( Daytime daytime, MySqlDataReader Reader, int offset ) : Daytime
daytime PAZ.Model.Daytime
Reader MySql.Data.MySqlClient.MySqlDataReader
offset int
return PAZ.Model.Daytime

Save() public method

public Save ( Daytime daytime ) : int
daytime PAZ.Model.Daytime
return int