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