Interface ITagDemandTypeDAO
- All Known Implementing Classes:
TagDemandTypeDAO
public interface ITagDemandTypeDAO
ITagDemandTypeDAO Interface
-
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(int nIdTagDemandType) Delete a record from the tablevoiddeleteByIdDemandType(int nIdDemandType) Delete a record from the tablevoidinsert(TagDemandType tagDemandType) Insert a new record in the table.load(int nKey) Load the data from the tableLoad the data of all the tagDemandType objects and returns them as a ListselectTagDemandTypesList(int nIdDemandType) Load the data of all the tagDemandType objects and returns them as a Listvoidstore(TagDemandType tagDemandType) Update the record in the table
-
Method Details
-
insert
Insert a new record in the table.- Parameters:
tagDemandType- instance of the TagDemandType object to inssert
-
store
Update the record in the table- Parameters:
tagDemandType- the reference of the TagDemandType
-
delete
void delete(int nIdTagDemandType) Delete a record from the table- Parameters:
nIdTagDemandType- int identifier of the TagDemandType to delete
-
deleteByIdDemandType
void deleteByIdDemandType(int nIdDemandType) Delete a record from the table- Parameters:
nIdDemandType- the demandType id
-
load
Load the data from the table- Parameters:
strId- The identifier of the tagDemandType- Returns:
- The instance of the tagDemandType
-
selectTagDemandTypesList
Load the data of all the tagDemandType objects and returns them as a List- Parameters:
nIdDemandType- the id demand type- Returns:
- The List which contains the data of all the tagDemandType objects
-
selectTagDemandTypesList
List<TagDemandType> selectTagDemandTypesList()Load the data of all the tagDemandType objects and returns them as a List- Returns:
- The List which contains the data of all the tagDemandType objects
-