SaveRequest<TEntity> class
namespace: Serenity.Services assembly: Serenity.Net.Services
The service model for a Save (Create / Update) service.
public class SaveRequest<TEntity> : ServiceRequest, ISaveRequest
parameter | description |
---|---|
TEntity |
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
- class ServiceRequest
- interface ISaveRequest
- Source: SaveRequest.cs