C# Class PAZMySQL.ClassroomMapper

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

Public Methods

Method Description
ClassroomMapper ( MysqlDb db ) : System
Delete ( ) : bool
Delete ( Classroom classroom ) : bool
Delete ( List classrooms ) : bool
Delete ( int id ) : bool
Find ( int id ) : Classroom
FindAll ( ) : List
ProcessRow ( Classroom classroom, MySqlDataReader Reader ) : Classroom
ProcessRow ( Classroom classroom, MySqlDataReader Reader, int offset ) : Classroom
Save ( Classroom classroom ) : void

Method Details

ClassroomMapper() public method

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

Delete() public method

public Delete ( ) : bool
return bool

Delete() public method

public Delete ( Classroom classroom ) : bool
classroom Classroom
return bool

Delete() public method

public Delete ( List classrooms ) : bool
classrooms List
return bool

Delete() public method

public Delete ( int id ) : bool
id int
return bool

Find() public method

public Find ( int id ) : Classroom
id int
return Classroom

FindAll() public method

public FindAll ( ) : List
return List

ProcessRow() public method

public ProcessRow ( Classroom classroom, MySqlDataReader Reader ) : Classroom
classroom Classroom
Reader MySql.Data.MySqlClient.MySqlDataReader
return Classroom

ProcessRow() public method

public ProcessRow ( Classroom classroom, MySqlDataReader Reader, int offset ) : Classroom
classroom Classroom
Reader MySql.Data.MySqlClient.MySqlDataReader
offset int
return Classroom

Save() public method

public Save ( Classroom classroom ) : void
classroom Classroom
return void