Skip to main content

Definition

Assembly: CloudNimble.BlazorEssentials.IndexedDb.dll Namespace: CloudNimble.BlazorEssentials.IndexedDb Inheritance: System.Object

Syntax

Summary

Provides functionality for accessing IndexedDB from Blazor application

Constructors

.ctor

Syntax

Parameters

.ctor Inherited

Inherited from object

Syntax

Properties

DatabaseDefinition

Syntax

Property Value

Type: CloudNimble.BlazorEssentials.IndexedDb.Schema.IndexedDbDatabaseDefinition

Name

Syntax

Property Value

Type: string

ObjectStores

Syntax

Property Value

Type: System.Collections.Generic.List<CloudNimble.BlazorEssentials.IndexedDb.IndexedDbObjectStore>

Version

Syntax

Property Value

Type: int

Methods

CallJavaScriptAsync

Syntax

Parameters

Returns

Type: System.Threading.Tasks.Task

Exceptions

CallJavaScriptAsync

Syntax

Parameters

Returns

Type: System.Threading.Tasks.Task<TResult>

Type Parameters

  • TResult -

Exceptions

ConsoleLog

Syntax

Parameters

Returns

Type: System.Threading.Tasks.Task

Exceptions

CreateObjectStoreAsync

This function provides the means to add a store to an existing database,

Syntax

Parameters

Returns

Type: System.Threading.Tasks.Task

DeleteDatabaseAsync

Deletes this IndexedDb instance from the browser.

Syntax

Returns

Type: System.Threading.Tasks.Task

EnsureIsOpenAsync

Syntax

Returns

Type: System.Threading.Tasks.Task

Equals Inherited Virtual

Inherited from object

Syntax

Parameters

Returns

Type: bool

Equals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

GetHashCode Inherited Virtual

Inherited from object

Syntax

Returns

Type: int

GetType Inherited

Inherited from object

Syntax

Returns

Type: System.Type

LoadSchemaAsync

Load database schema from databaseName

Syntax

Returns

Type: System.Threading.Tasks.Task

MemberwiseClone Inherited

Inherited from object

Syntax

Returns

Type: object

OpenAsync

Opens the IndexedDB defined in the DbDatabase. Under the covers will create the database if it does not exist and create the stores defined in DbDatabase.

Syntax

Returns

Type: System.Threading.Tasks.Task

ReferenceEquals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

ToString Inherited Virtual

Inherited from object

Syntax

Returns

Type: string?