IndexedDBDatabaseSchema Class

The schema of a database: its version, its object stores and their indexes.

public sealed class IndexedDBDatabaseSchema

Constructors

NameDescription
IndexedDBDatabaseSchema()

IndexedDBDatabaseSchema()

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 IndexedDBDatabaseSchema()

No documentation is available.

Properties

NameDescription
NameGets the name of the database.
ObjectStoresGets the object stores of the database.
VersionGets the version of the database.

Gets the name of the database.

public required string Name { get; init; }

Property value

string

Gets the object stores of the database.

public IReadOnlyList<IndexedDBObjectStoreSchema> ObjectStores { get; init; }

Gets the version of the database.

public required long Version { get; init; }

Property value

long