C# Class PAZMySQL.SessionMapper

Inheritance: Mapper
Exibir arquivo Open project: PAZ-MI4Ie/PAZ

Public Methods

Method Description
Delete ( int id ) : void
Find ( int id ) : Session
FindAll ( ) : List
ProcessRow ( Session session, MySqlDataReader Reader ) : Session
ProcessRow ( Session session, MySqlDataReader Reader, int offset ) : Session
Save ( Session session ) : int
Save ( Planning planning ) : void
Save ( Planning planning, bool deleteOld ) : void
SessionMapper ( MysqlDb db ) : System

Method Details

Delete() public method

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

Find() public method

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

FindAll() public method

public FindAll ( ) : List
return List

ProcessRow() public method

public ProcessRow ( Session session, MySqlDataReader Reader ) : Session
session PAZ.Model.Session
Reader MySql.Data.MySqlClient.MySqlDataReader
return PAZ.Model.Session

ProcessRow() public method

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

Save() public method

public Save ( Session session ) : int
session PAZ.Model.Session
return int

Save() public method

public Save ( Planning planning ) : void
planning PAZ.Model.Planning
return void

Save() public method

public Save ( Planning planning, bool deleteOld ) : void
planning PAZ.Model.Planning
deleteOld bool
return void

SessionMapper() public method

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