OneWayAttribute class

namespace: Serenity.ComponentModel   assemblySerenity.Net.Core

Indicates that the target property should not get serialized when a property grid is saved. This means, the editor of the property reads the value from the entity, but it doesn't get written back to save entity.

[AttributeUsage(AttributeTargets.All)]
public class OneWayAttribute : Attribute

Public Members

name description
OneWayAttribute() Initializes a new instance of the OneWayAttribute class.

See Also