Interface IFileDAO
- All Known Implementing Classes:
FileDAO
public interface IFileDAO
IFileDAO
-
Method Summary
-
Method Details
-
insert
Insert a new record in the table.- Parameters:
file- instance of the File object to insert- Returns:
- the id of the new file
-
load
Load the data of the File from the table- Parameters:
nId- The identifier of the file- Returns:
- the instance of the File
-
delete
void delete(int nIdFile) Delete a record from the table- Parameters:
nIdFile- The identifier of the file
-
store
Update the file in the table- Parameters:
file- instance of the File object to update
-