C# Class PAZ.Model.Mappers.PairMapper

Inheritance: PAZMySQL.Mapper
Afficher le fichier Open project: PAZ-MI4Ie/PAZ Class Usage Examples

Méthodes publiques

Méthode Description
Delete ( Pair pair ) : bool
Delete ( int id ) : bool
Find ( int id ) : Pair
FindAll ( ) : List
FindAllUnplanned ( ) : List
FindAttachments ( int pairId ) : string>.Dictionary
FindByAttachment ( int attachmentId ) : List
PairMapper ( MysqlDb db ) : System
Save ( Pair pair ) : void

Méthodes protégées

Méthode Description
ProcessRow ( Pair pair, MySqlDataReader Reader ) : Pair

Method Details

Delete() public méthode

public Delete ( Pair pair ) : bool
pair Pair
Résultat bool

Delete() public méthode

public Delete ( int id ) : bool
id int
Résultat bool

Find() public méthode

public Find ( int id ) : Pair
id int
Résultat Pair

FindAll() public méthode

public FindAll ( ) : List
Résultat List

FindAllUnplanned() public méthode

public FindAllUnplanned ( ) : List
Résultat List

FindAttachments() public méthode

public FindAttachments ( int pairId ) : string>.Dictionary
pairId int
Résultat string>.Dictionary

FindByAttachment() public méthode

public FindByAttachment ( int attachmentId ) : List
attachmentId int
Résultat List

PairMapper() public méthode

public PairMapper ( MysqlDb db ) : System
db PAZMySQL.MysqlDb
Résultat System

ProcessRow() protected méthode

protected ProcessRow ( Pair pair, MySqlDataReader Reader ) : Pair
pair Pair
Reader MySql.Data.MySqlClient.MySqlDataReader
Résultat Pair

Save() public méthode

public Save ( Pair pair ) : void
pair Pair
Résultat void