C# Class DBPOLLDemo.Models.questionObjectModel

Inheritance: System.Web.UI.Page
Show file Open project: Marknel/dbPOLL Class Usage Examples

Public Properties

Property Type Description
attribute String
obid int
questionid int

Public Methods

Method Description
createObject ( int obtype, String attribute, int questionid ) : void
deleteObject ( ) : void
getMaxID ( ) : int
getObject ( int id, int questionid ) : questionObjectModel
indexObjects ( int questionid ) : List
questionObjectModel ( ) : System

Empty Constructor for object model. Used to call methods.

questionObjectModel ( String attribute ) : System
questionObjectModel ( int obid ) : System
questionObjectModel ( int obid, String attribute ) : System
updateObject ( int obid, int obtype, String attribute ) : void

Method Details

createObject() public method

public createObject ( int obtype, String attribute, int questionid ) : void
obtype int
attribute String
questionid int
return void

deleteObject() public method

public deleteObject ( ) : void
return void

getMaxID() public method

public getMaxID ( ) : int
return int

getObject() public method

public getObject ( int id, int questionid ) : questionObjectModel
id int
questionid int
return questionObjectModel

indexObjects() public method

public indexObjects ( int questionid ) : List
questionid int
return List

questionObjectModel() public method

Empty Constructor for object model. Used to call methods.
public questionObjectModel ( ) : System
return System

questionObjectModel() public method

public questionObjectModel ( String attribute ) : System
attribute String
return System

questionObjectModel() public method

public questionObjectModel ( int obid ) : System
obid int
return System

questionObjectModel() public method

public questionObjectModel ( int obid, String attribute ) : System
obid int
attribute String
return System

updateObject() public method

public updateObject ( int obid, int obtype, String attribute ) : void
obid int
obtype int
attribute String
return void

Property Details

attribute public property

public String attribute
return String

obid public property

public int obid
return int

questionid public property

public int questionid
return int