11 instantiations of VectorStoreKeyAttribute
Microsoft.Extensions.VectorData.Abstractions.Tests (8)
CollectionModelBuilderTests.cs (8)
330
[
VectorStoreKey
]
342
[
VectorStoreKey
]
354
[
VectorStoreKey
]
512
[
VectorStoreKey
(StorageName = "id")]
524
[
VectorStoreKey
(IsAutoGenerated = true)]
530
[
VectorStoreKey
(IsAutoGenerated = false)]
536
[
VectorStoreKey
]
542
[
VectorStoreKey
]
Microsoft.Extensions.VectorData.ConformanceTests (3)
EmbeddingGenerationTests.cs (2)
162
[
VectorStoreKey
]
355
[
VectorStoreKey
]
Support\TestRecord.cs (1)
10
[
VectorStoreKey
]
5 references to VectorStoreKeyAttribute
Microsoft.Extensions.VectorData.Abstractions (5)
ProviderServices\CollectionModelBuilder.cs (3)
187
VectorStoreKeyAttribute
? keyAttribute = null;
194
keyAttribute = clrProperty.GetCustomAttribute<
VectorStoreKeyAttribute
>();
202
$"Property '{clrProperty.DeclaringType?.Name}.{clrProperty.Name}' has multiple of {nameof(
VectorStoreKeyAttribute
)}, {nameof(VectorStoreDataAttribute)} or {nameof(VectorStoreVectorAttribute)}. Only one of these attributes can be specified on a property.");
VectorStore.cs (1)
33
/// <seealso cref="
VectorStoreKeyAttribute
"/>
VectorStoreCollectionOptions.cs (1)
33
/// See <see cref="
VectorStoreKeyAttribute
"/>, <see cref="VectorStoreDataAttribute"/>, and <see cref="VectorStoreVectorAttribute"/>.