Class ObjectStoreIndex
Object store index.
public sealed record ObjectStoreIndex : IEquatable<ObjectStoreIndex>
- Inheritance
-
ObjectStoreIndex
- Implements
- Inherited Members
Constructors
ObjectStoreIndex(string, KeyPath, bool, bool)
Object store index.
public ObjectStoreIndex(string Name, KeyPath KeyPath, bool Unique, bool MultiEntry)
Parameters
NamestringIndex name.
KeyPathKeyPathIndex key path.
UniqueboolIf true, index is unique.
MultiEntryboolIf true, index allows multiple entries for a key.
Properties
KeyPath
Index key path.
public KeyPath KeyPath { get; init; }
Property Value
MultiEntry
If true, index allows multiple entries for a key.
public bool MultiEntry { get; init; }
Property Value
Name
Index name.
public string Name { get; init; }
Property Value
Unique
If true, index is unique.
public bool Unique { get; init; }