SaveRequest<TEntity> class

namespace: Serenity.Services   assemblySerenity.Net.Services

The service model for a Save (Create / Update) service.

public class SaveRequest<TEntity> : ServiceRequest, ISaveRequest
parameter description

Public Members

name description
SaveRequest() The default constructor.
Entity { get; set; } The entity containing only the fields that should be inserted / updated. Partial patch is only possible with Row types as only it provides assignment information from the originating JSON.
EntityId { get; set; }
Localizations { get; set; } The set of localizations if translations are requested to be updated.

See Also