C# Class PAZ.Model.Mappers.BlockedTimeslotMapper

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

Public Methods

Method Description
BlockedTimeslotMapper ( MysqlDb db ) : System
FindByUserId ( int userId ) : List
Save ( Blocked_timeslot slot ) : void

Protected Methods

Method Description
ProcessRow ( MySqlDataReader Reader, Blocked_timeslot blockedTimeSlot ) : Blocked_timeslot

Method Details

BlockedTimeslotMapper() public method

public BlockedTimeslotMapper ( MysqlDb db ) : System
db PAZMySQL.MysqlDb
return System

FindByUserId() public method

public FindByUserId ( int userId ) : List
userId int
return List

ProcessRow() protected method

protected ProcessRow ( MySqlDataReader Reader, Blocked_timeslot blockedTimeSlot ) : Blocked_timeslot
Reader MySql.Data.MySqlClient.MySqlDataReader
blockedTimeSlot Blocked_timeslot
return Blocked_timeslot

Save() public method

public Save ( Blocked_timeslot slot ) : void
slot Blocked_timeslot
return void