IUndeleteExceptionBehavior interface

namespace: Serenity.Services   assemblySerenity.Net.Services

This is an extension for undelete behaviors that should be called for exceptions that occur during delete. It could be useful to preview the exception and raise another exception for FK / PK database errors etc.

public interface IUndeleteExceptionBehavior


name description
OnException(…) Called when an exception occurs during undelete

See Also