FilesToDeleteExtensions.RegisterFilesToDelete method
namespace: Serenity.Web assembly: Serenity.Net.Services
Registers a FilesToDelete
in the target unit of work. This deletes the old files on commit, and new files on rollback
public static void RegisterFilesToDelete(this IUnitOfWork unitOfWork, FilesToDelete filesToDelete)
parameter | description |
---|---|
unitOfWork | Unit of work |
filesToDelete | Files to delete container |
See Also
- interface IUnitOfWork
- class FilesToDelete
- class FilesToDeleteExtensions