Skip to main content

CompositeIndexAttribute

Create an Composite RDBMS Index and optional Unique constraint

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

Properties

FieldNames

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

Unique

View Source
Declaration
public bool Unique { get; set; }

Name

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

Implements

  • System.Runtime.InteropServices._Attribute