Skip to main content

Definition

Assembly: CloudNimble.BlazorEssentials.TursoDb.dll Namespace: CloudNimble.BlazorEssentials.TursoDb.Schema Inheritance: System.Object

Syntax

CloudNimble.BlazorEssentials.TursoDb.Schema.EntityMetadataCache

Summary

Caches entity metadata for performance.

Methods

Clear

Clears all cached metadata.

Syntax

public static void Clear()

GetOrCreate

Gets or creates metadata for the specified entity type.

Syntax

public static CloudNimble.BlazorEssentials.TursoDb.Schema.EntityMetadata GetOrCreate<TEntity>() where TEntity : class

Returns

Type: CloudNimble.BlazorEssentials.TursoDb.Schema.EntityMetadata The entity metadata.

Type Parameters

  • TEntity - The entity type.

GetOrCreate

Gets or creates metadata for the specified entity type.

Syntax

public static CloudNimble.BlazorEssentials.TursoDb.Schema.EntityMetadata GetOrCreate(System.Type entityType)

Parameters

NameTypeDescription
entityTypeSystem.TypeThe entity type.

Returns

Type: CloudNimble.BlazorEssentials.TursoDb.Schema.EntityMetadata The entity metadata.