Table of Contents

Class ResourceReferenceListSchemaUpgrade<T>

Namespace
FoundationaLLM.Common.Models.ResourceProviders
Assembly
FoundationaLLM.Common.dll

Provides the details necessary to upgrade the schema of a resource reference list.

public class ResourceReferenceListSchemaUpgrade<T> where T : ResourceReference

Type Parameters

T

The type of resource reference kept in the store.

Inheritance
ResourceReferenceListSchemaUpgrade<T>
Inherited Members
Extension Methods

Properties

ResourceReferenceUpgradeAction

Gets or sets the action that performs the upgrade on a resource reference.

public required Func<T, IStorageService, ILogger, Task> ResourceReferenceUpgradeAction { get; set; }

Property Value

Func<T, IStorageService, ILogger, Task>

SchemaVersion

Gets or sets the version of the schema to upgrade to.

public int SchemaVersion { get; set; }

Property Value

int