Replacing an image

4
The object 'employee' derives from System.Image. If the image of an employee is changed, will the system automatically remove the old image out of the database in order to keep my database clean?
asked
1 answers
4

Images (better: content of images) aren't stored in the database. A System.Image instance (in your case the inheriting Employee instance) only contains a reference to the file location of the image on the file system.

When you replace the image (by for example uploading a new one) the XAS will delete the old image from the file system.

answered