Skip to content

ISaveRequestHandler interface

namespace: Serenity.Services   assemblySerenity.Net.Services

Represents a SaveRequestHandler. Is used with SaveBehavior objects.

public interface ISaveRequestHandler : IRequestHandler

Members

name description
Connection { get; } Gets the current connection.
Context { get; } Gets the current request context.
IsCreate { get; } Gets a value indicating whether this is an INSERT operation.
IsUpdate { get; } Gets a value indicating whether this is an UPDATE operation.
Old { get; } Gets the old row, if any, otherwise null.
Request { get; } Gets the save request.
Response { get; } Gets the save response.
Row { get; } Gets the new row.
StateBag { get; } Gets a state bag that can be used as storage within a request handler context.
UnitOfWork { get; } Gets the current unit of work.

See Also