Table of Contents

Constructor EdgeVectorStoreCollection

Namespace
Qavren.Edge.VectorData
Assembly
Qavren.Edge.VectorData.dll

EdgeVectorStoreCollection(IEdgeDatabase, string, EdgeVectorStoreCollectionOptions?)

Reflects over TRecord through MEVD's reflection-based CollectionModelBuilder.Build, which is why it is annotated. The dynamic collection never reaches this constructor.

[RequiresDynamicCode("Reflects over TRecord. Use GetDynamicCollection in trimmed or AOT apps.")]
[RequiresUnreferencedCode("Reflects over TRecord. Use GetDynamicCollection in trimmed or AOT apps.")]
public EdgeVectorStoreCollection(IEdgeDatabase database, string name, EdgeVectorStoreCollectionOptions? options = null)

Parameters

database IEdgeDatabase

The sub-project 1 database this collection lives in.

name string

The collection name; the data table is named after it verbatim.

options EdgeVectorStoreCollectionOptions

Per-collection overrides. Null takes every store default.

EdgeVectorStoreCollection(IEdgeDatabase, string, CollectionModel, EdgeVectorStoreCollectionOptions)

The trim/AOT-clean constructor, and the only one EdgeDynamicVectorStoreCollection chains to. It takes a model that is already built and carries no trim annotations, so a derived constructor chaining to it inherits neither IL2026 nor IL3050. Without it the "dynamic is the AOT-safe path" claim would be unverifiable: this repo sets TreatWarningsAsErrors, and the only way to compile a derived type over an annotated base constructor would be a suppression.

protected EdgeVectorStoreCollection(IEdgeDatabase database, string name, CollectionModel model, EdgeVectorStoreCollectionOptions options)

Parameters

database IEdgeDatabase

The sub-project 1 database this collection lives in.

name string

The collection name.

model CollectionModel

The already-built collection model.

options EdgeVectorStoreCollectionOptions

Per-collection overrides. Never null.