C# Class PAZMySQL.AdminMapper

Inheritance: UserMapper
ファイルを表示 Open project: PAZ-MI4Ie/PAZ Class Usage Examples

Public Methods

Method Description
AdminMapper ( MysqlDb db ) : System
CheckLogin ( String username, String password ) : System.Boolean
Find ( int id ) : Admin
FindAll ( ) : List

Protected Methods

Method Description
ProcessRow ( Admin admin, MySqlDataReader Reader ) : Admin

Method Details

AdminMapper() public method

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

CheckLogin() public method

public CheckLogin ( String username, String password ) : System.Boolean
username String
password String
return System.Boolean

Find() public method

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

FindAll() public method

public FindAll ( ) : List
return List

ProcessRow() protected method

protected ProcessRow ( Admin admin, MySqlDataReader Reader ) : Admin
admin PAZ.Model.Admin
Reader MySql.Data.MySqlClient.MySqlDataReader
return PAZ.Model.Admin