C# Class PAZMySQL.StudentMapper

Inheritance: UserMapper
显示文件 Open project: PAZ-MI4Ie/PAZ Class Usage Examples

Public Methods

Method Description
Find ( int id ) : Student
FindAll ( ) : List
ProcessRow ( Student student, MySqlDataReader Reader ) : Student
ProcessRow ( Student student, MySqlDataReader Reader, int offset ) : Student
Save ( Student student ) : void
StudentMapper ( MysqlDb db ) : System

Method Details

Find() public method

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

FindAll() public method

public FindAll ( ) : List
return List

ProcessRow() public method

public ProcessRow ( Student student, MySqlDataReader Reader ) : Student
student PAZ.Model.Student
Reader MySql.Data.MySqlClient.MySqlDataReader
return PAZ.Model.Student

ProcessRow() public method

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

Save() public method

public Save ( Student student ) : void
student PAZ.Model.Student
return void

StudentMapper() public method

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