12 references to Collection
Microsoft.Extensions.VectorData.ConformanceTests (12)
ModelTests\DynamicModelTests.cs (12)
222
Assert.Null(await
Collection
.GetAsync(expectedKey));
223
await
Collection
.UpsertAsync(inserted);
225
var received = await
Collection
.GetAsync(expectedKey, new() { IncludeVectors = true });
241
Assert.NotNull(await
Collection
.GetAsync((TKey)existingRecord[KeyPropertyName]!));
242
await
Collection
.UpsertAsync(updated);
244
var received = await
Collection
.GetAsync((TKey)existingRecord[KeyPropertyName]!, new() { IncludeVectors = true });
270
Assert.Empty(await
Collection
.GetAsync(keys).ToArrayAsync());
272
await
Collection
.UpsertAsync(newRecords);
274
var received = await
Collection
.GetAsync(keys, new() { IncludeVectors = true }).ToArrayAsync();
316
var result = await
Collection
329
var result = await
Collection
342
var result = await
Collection