C# Class PAZMySQL.TeacherMapper

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

Public Methods

Method Description
Find ( int id ) : Teacher
FindAll ( ) : List
Save ( Teacher teacher ) : void
TeacherMapper ( MysqlDb db ) : System

Private Methods

Method Description
ProcessRow ( Teacher teacher, MySqlDataReader Reader ) : Teacher

Method Details

Find() public method

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

FindAll() public method

public FindAll ( ) : List
return List

Save() public method

public Save ( Teacher teacher ) : void
teacher PAZ.Model.Teacher
return void

TeacherMapper() public method

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