C# Class CapDemo.BL.QuestionBL

Afficher le fichier Open project: antang/NewCapstoneProject Class Usage Examples

Méthodes publiques

Méthode Description
AddAnswer ( Answer Answer ) : bool
AddQuestion ( Question Question ) : bool
DatatableQuestion ( ) : DataTable
DeleteAnswerByIDQuestion ( Question Question ) : bool
DeleteQuestionByID ( Question Question ) : bool
EditAnswerbyID ( Answer Answer ) : bool
EditIDCatalogueAnswerByIDQuestion ( Question Question ) : bool
EditIDCatalogueQuestionByIDQuestion ( Question Question ) : bool
EditQuestionTypebyID ( Question Question ) : bool
EditQuestionbyID ( Question Question ) : bool
GetAnswerByQuestionID ( Question Question ) : List
GetFileHotPotato ( string file ) : List
GetFileTXT ( string file ) : List
GetFileXML ( string file ) : List
GetQuestion ( ) : List
GetQuestionByCatalogue ( Catalogue Catalogue ) : List
GetQuestionByID ( Question question ) : List
MaxIDQuestion ( ) : int
QuestionBL ( ) : System

Method Details

AddAnswer() public méthode

public AddAnswer ( Answer Answer ) : bool
Answer CapDemo.DO.Answer
Résultat bool

AddQuestion() public méthode

public AddQuestion ( Question Question ) : bool
Question CapDemo.DO.Question
Résultat bool

DatatableQuestion() public méthode

public DatatableQuestion ( ) : DataTable
Résultat System.Data.DataTable

DeleteAnswerByIDQuestion() public méthode

public DeleteAnswerByIDQuestion ( Question Question ) : bool
Question CapDemo.DO.Question
Résultat bool

DeleteQuestionByID() public méthode

public DeleteQuestionByID ( Question Question ) : bool
Question CapDemo.DO.Question
Résultat bool

EditAnswerbyID() public méthode

public EditAnswerbyID ( Answer Answer ) : bool
Answer CapDemo.DO.Answer
Résultat bool

EditIDCatalogueAnswerByIDQuestion() public méthode

public EditIDCatalogueAnswerByIDQuestion ( Question Question ) : bool
Question CapDemo.DO.Question
Résultat bool

EditIDCatalogueQuestionByIDQuestion() public méthode

public EditIDCatalogueQuestionByIDQuestion ( Question Question ) : bool
Question CapDemo.DO.Question
Résultat bool

EditQuestionTypebyID() public méthode

public EditQuestionTypebyID ( Question Question ) : bool
Question CapDemo.DO.Question
Résultat bool

EditQuestionbyID() public méthode

public EditQuestionbyID ( Question Question ) : bool
Question CapDemo.DO.Question
Résultat bool

GetAnswerByQuestionID() public méthode

public GetAnswerByQuestionID ( Question Question ) : List
Question CapDemo.DO.Question
Résultat List

GetFileHotPotato() public méthode

public GetFileHotPotato ( string file ) : List
file string
Résultat List

GetFileTXT() public méthode

public GetFileTXT ( string file ) : List
file string
Résultat List

GetFileXML() public méthode

public GetFileXML ( string file ) : List
file string
Résultat List

GetQuestion() public méthode

public GetQuestion ( ) : List
Résultat List

GetQuestionByCatalogue() public méthode

public GetQuestionByCatalogue ( Catalogue Catalogue ) : List
Catalogue CapDemo.DO.Catalogue
Résultat List

GetQuestionByID() public méthode

public GetQuestionByID ( Question question ) : List
question CapDemo.DO.Question
Résultat List

MaxIDQuestion() public méthode

public MaxIDQuestion ( ) : int
Résultat int

QuestionBL() public méthode

public QuestionBL ( ) : System
Résultat System