17 instantiations of VectorStoreKeyProperty
Microsoft.Extensions.DataIngestion (1)
Writers\VectorStoreWriter.cs (1)
125new VectorStoreKeyProperty(KeyName, typeof(Guid)),
Microsoft.Extensions.VectorData.ConformanceTests (16)
CollectionManagementTests.cs (1)
107new VectorStoreKeyProperty(nameof(Record.Key), typeof(TKey)) { StorageName = "key" },
DistanceFunctionTests.cs (1)
178new VectorStoreKeyProperty(nameof(SearchRecord.Key), typeof(TKey)),
EmbeddingGenerationTests.cs (2)
448new VectorStoreKeyProperty(nameof(Record.Key), typeof(TKey)), 519new VectorStoreKeyProperty(nameof(RecordWithRomOfFloatVectorProperty.Key), typeof(TKey)),
FilterTests.cs (1)
589new VectorStoreKeyProperty(nameof(FilterRecord.Key), typeof(TKey)),
HybridSearchTests.cs (2)
167new VectorStoreKeyProperty("Key", typeof(TKey)), 221new VectorStoreKeyProperty("Key", typeof(TKey)),
IndexKindTests.cs (1)
68new VectorStoreKeyProperty(nameof(SearchRecord.Key), typeof(TKey)),
ModelTests\BasicModelTests.cs (1)
499new VectorStoreKeyProperty(nameof(Record.Key), typeof(TKey)),
ModelTests\DynamicModelTests.cs (1)
402new VectorStoreKeyProperty(KeyPropertyName, typeof(TKey)),
ModelTests\MultiVectorModelTests.cs (1)
107new VectorStoreKeyProperty(nameof(MultiVectorRecord.Key), typeof(TKey)),
ModelTests\NoDataModelTests.cs (1)
78new VectorStoreKeyProperty(nameof(NoDataRecord.Key), typeof(TKey)),
ModelTests\NoVectorModelTests.cs (1)
79new VectorStoreKeyProperty(nameof(NoVectorRecord.Key), typeof(TKey)),
TypeTests\DataTypeTests.cs (1)
471new VectorStoreKeyProperty(nameof(RecordBase.Key), typeof(TKey)),
TypeTests\EmbeddingTypeTests.cs (1)
233new VectorStoreKeyProperty("Key", typeof(TKey)),
TypeTests\KeyTypeTests.cs (1)
237new VectorStoreKeyProperty("Key", typeof(TKey)) { IsAutoGenerated = withAutoGeneration },
5 references to VectorStoreKeyProperty
Microsoft.Extensions.VectorData.Abstractions (5)
ProviderServices\CollectionModelBuilder.cs (4)
213&& ((keyAttribute is not null && definitionProperty is not VectorStoreKeyProperty) 219VectorStoreKeyProperty => "key", 238if (keyAttribute is not null || definitionProperty is VectorStoreKeyProperty) 249if (definitionProperty is VectorStoreKeyProperty defKey)
RecordDefinition\VectorStoreKeyProperty.cs (1)
17/// Initializes a new instance of the <see cref="VectorStoreKeyProperty"/> class.