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