| CompositeIndexAttribute Constructor (String, Boolean, String) |
Creates anindex across one or more columns
Namespace: SQLitePCL.pretty.Orm.AttributesAssembly: SQLitePCL.pretty.Orm (in SQLitePCL.pretty.Orm.dll) Version: 1.0.0.0 (1.0.0)
Syntaxpublic CompositeIndexAttribute(
string name,
bool unique,
params string[] columns
)
new :
name : string *
unique : bool *
columns : string[] -> CompositeIndexAttributeParameters
- name
- Type: SystemString
The index name. - unique
- Type: SystemBoolean
Whether the index is unique. - columns
- Type: SystemString
The mapped column names.
See Also