IndexedDBObjectStoreSchema Class

The schema of an object store (https://w3c.github.io/IndexedDB/#object-store-construct).

public sealed class IndexedDBObjectStoreSchema

Constructors

NameDescription
IndexedDBObjectStoreSchema()

IndexedDBObjectStoreSchema()

IndexedDBBackend.cs
  • Obsolete: Constructors of types with required members are not supported in this version of your compiler.
[Obsolete("Constructors of types with required members are not supported in this version of your compiler.", true)]
public IndexedDBObjectStoreSchema()

No documentation is available.

Properties

NameDescription
AutoIncrementGets whether the object store has a key generator.
IdGets the id of the object store, unique in the database.
IndexesGets the indexes of the object store.
KeyPathGets the key path of the object store, or null when the object store uses out-of-line keys.
NameGets the name of the object store.

AutoIncrement

IndexedDBBackend.cs

Gets whether the object store has a key generator.

public bool AutoIncrement { get; init; }

Property value

bool

Gets the id of the object store, unique in the database.

public required long Id { get; init; }

Property value

long

Gets the indexes of the object store.

public IReadOnlyList<IndexedDBIndexSchema> Indexes { get; init; }

Gets the key path of the object store, or null when the object store uses out-of-line keys.

public IndexedDBKeyPath? KeyPath { get; init; }

Property value

IndexedDBKeyPath?

Gets the name of the object store.

public required string Name { get; init; }

Property value

string