1 write to MainRecordKey
Microsoft.Extensions.VectorData.ConformanceTests (1)
TypeTests\DataTypeTests.cs (1)
461MainRecordKey = GenerateNextKey<TKey>();
10 references to MainRecordKey
Microsoft.Extensions.VectorData.ConformanceTests (10)
TypeTests\DataTypeTests.cs (10)
171await fixture.Collection.DeleteAsync([fixture.MainRecordKey, fixture.OtherRecordKey, fixture.NullRecordKey]); 178TRecord result = await fixture.Collection.GetAsync(fixture.MainRecordKey) ?? throw new InvalidOperationException($"Record with key '{fixture.MainRecordKey}' was not found."); 196await fixture.Collection.DeleteAsync([fixture.MainRecordKey, fixture.OtherRecordKey, fixture.NullRecordKey]); 211var dynamicResult = await dynamicCollection.GetAsync(fixture.MainRecordKey) ?? throw new InvalidOperationException($"Record with key '{fixture.MainRecordKey}' was not found."); 244mainRecord.Key = fixture.MainRecordKey; 290mainRecord[nameof(RecordBase.Key)] = fixture.MainRecordKey; 363Assert.Equal(fixture.MainRecordKey, result.Key); 403Assert.Equal(fixture.MainRecordKey, result[nameof(RecordBase.Key)]);