C# 클래스 DBLibrary.Question

파일 보기 프로젝트 열기: VlasyukTanya/CTS 1 사용 예제들

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
Create ( ) : Question
Delete ( ) : void
Get ( int id ) : Question
GetQuestionsDataTableByTestId ( DBDriver db, int testId ) : DataTable
Question ( DBDriver db ) : System
Question ( DBDriver db, int id, string questionText, bool active, int questionTypeId, int testId, int answerNum, int categoryId ) : System
Update ( ) : Question

메소드 상세

Create() 공개 메소드

public Create ( ) : Question
리턴 Question

Delete() 공개 메소드

public Delete ( ) : void
리턴 void

Get() 공개 메소드

public Get ( int id ) : Question
id int
리턴 Question

GetQuestionsDataTableByTestId() 공개 정적인 메소드

public static GetQuestionsDataTableByTestId ( DBDriver db, int testId ) : DataTable
db DBDriver
testId int
리턴 System.Data.DataTable

Question() 공개 메소드

public Question ( DBDriver db ) : System
db DBDriver
리턴 System

Question() 공개 메소드

public Question ( DBDriver db, int id, string questionText, bool active, int questionTypeId, int testId, int answerNum, int categoryId ) : System
db DBDriver
id int
questionText string
active bool
questionTypeId int
testId int
answerNum int
categoryId int
리턴 System

Update() 공개 메소드

public Update ( ) : Question
리턴 Question