Interface IGalleryDAO
-
- All Known Implementing Classes:
GalleryDAO
public interface IGalleryDAOIGalleryDAO Interface
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddelete(int nIdGallery)Delete a record from the tableGalleryinsert(Gallery gallery)Insert a new record in the table.Galleryload(int nKey)Load the data from the tableGalleryloadByCodeGallery(String strCodeGallery)Load the data by code gallery from the tableList<Gallery>selectGalleryList()Load the data of all the gallery objects and returns them as a Listvoidstore(Gallery gallery)Update the record in the table
-
-
-
Method Detail
-
insert
Gallery insert(Gallery gallery)
Insert a new record in the table.- Parameters:
gallery- instance of the gallery object to insert
-
store
void store(Gallery gallery)
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
Gallery load(int nKey)
Load the data from the table- Parameters:
strId- The identifier of the gallery- Returns:
- The instance of the gallery
-
loadByCodeGallery
Gallery loadByCodeGallery(String strCodeGallery)
Load the data by code gallery from the table- Parameters:
strCodeGallery- The code gallery- Returns:
- The instance of the gallery
-
-