Interface IGalleryDAO
- All Known Implementing Classes:
GalleryDAO
public interface IGalleryDAO
IGalleryDAO Interface
-
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(int nIdGallery) Delete a record from the tableInsert a new record in the table.load(int nKey) Load the data from the tableloadByCodeGallery(String strCodeGallery) Load the data by code gallery from the tableLoad the data of all the gallery objects and returns them as a ListvoidUpdate the record in the table
-
Method Details
-
insert
Insert a new record in the table.- Parameters:
gallery- instance of the gallery object to insert
-
store
Update the record in the table- Parameters:
gallery- the reference of the gallery
-
delete
void delete(int nIdGallery) Delete a record from the table- Parameters:
nIdGallery- int identifier of the Gallery to delete
-
load
Load the data from the table- Parameters:
strId- The identifier of the gallery- Returns:
- The instance of the gallery
-
loadByCodeGallery
Load the data by code gallery from the table- Parameters:
strCodeGallery- The code gallery- Returns:
- The instance of the gallery
-
selectGalleryList
Load the data of all the gallery objects and returns them as a List- Returns:
- The List which contains the data of all the gallery objects
-