Struct DeltaView
A zero-allocation, filtered read-only view over a View's internal delta dictionary. Provides O(1) Count and Contains(long) lookups.
Lifetime: This struct shares the same lifetime as its parent ViewDelta.
It becomes invalid after ClearDelta() is called on the owning View.
public readonly struct DeltaView : IReadOnlyCollection<long>, IEnumerable<long>, IEnumerable
- Implements
- Inherited Members
Properties
Count
Number of entity PKs in this delta category.
public int Count { get; }
Property Value
Methods
Contains(long)
O(1) check whether the given entity PK is in this delta category.
public bool Contains(long pk)
Parameters
pklong
Returns
GetEnumerator()
public IEnumerator<long> GetEnumerator()