UniqueFieldSaveBehavior class
namespace: Serenity.Services assembly: Serenity.Net.Services
Interface that handles UniqueConstraintAttribute on fields
public class UniqueFieldSaveBehavior : BaseSaveBehavior, IFieldBehavior, IImplicitBehavior
Public Members
| name | description |
|---|---|
| UniqueFieldSaveBehavior(…) | Creates a new instance of the class |
| Target { get; set; } | |
| ActivateFor(…) | |
| override OnBeforeSave(…) |
See Also
- class BaseSaveBehavior
- interface IFieldBehavior
- interface IImplicitBehavior
- Source: UniqueFieldSaveBehavior.cs