Skip to main content

UniqueConstraintAttribute

Define a unique multi column RDBMS column constraint

Assembly: ServiceStack.Interfaces.dll
View Source
Declaration
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct, AllowMultiple = true)]
public class UniqueConstraintAttribute : AttributeBase, _Attribute

Properties

FieldNames

View Source
Declaration
public List<string> FieldNames { get; set; }

Name

View Source
Declaration
public string Name { get; set; }

Implements

  • System.Runtime.InteropServices._Attribute