ISaveExceptionBehavior interface
namespace: Serenity.Services assembly: Serenity.Net.Services
This is an extension for save behaviors that should be called for exceptions that occur during save. It could be useful to preview the exception and raise another exception for FK / PK database errors etc.
public interface ISaveExceptionBehavior
Members
name | description |
---|---|
OnException(…) | Called when an exception occurs during save |
See Also
- Source: ISaveExceptionBehavior.cs