C# Class PAZMySQL.ExpertMapper

Inheritance: UserMapper
Datei anzeigen Open project: PAZ-MI4Ie/PAZ

Public Methods

Method Description
ExpertMapper ( MysqlDb db ) : System
Find ( int id ) : Expert
FindAll ( ) : List
Save ( Expert expert ) : void

Protected Methods

Method Description
ProcessRow ( Expert expert, MySqlDataReader Reader ) : Expert

Method Details

ExpertMapper() public method

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

Find() public method

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

FindAll() public method

public FindAll ( ) : List
return List

ProcessRow() protected method

protected ProcessRow ( Expert expert, MySqlDataReader Reader ) : Expert
expert PAZ.Model.Expert
Reader MySql.Data.MySqlClient.MySqlDataReader
return PAZ.Model.Expert

Save() public method

public Save ( Expert expert ) : void
expert PAZ.Model.Expert
return void