SkipOnSaveAttribute class
namespace: Serenity.ComponentModel assembly: Serenity.Net.Core
Indicates that the target property should not get written when a form or grid is saved. This means, the editor of the property reads the value from the entity, but it doesn't get written back to the entity being saved. Useful for read-only or computed properties that shouldn't update the entity.
[AttributeUsage(AttributeTargets.All)]
public class SkipOnSaveAttribute : Attribute
Public Members
| name | description |
|---|---|
| SkipOnSaveAttribute() | The default constructor. |
See Also
- Source: SkipOnSaveAttribute.cs