Xigadee.Core by Paul Stancer and Guy Steel at Information Management Group Ltd, part of Hitachi Consulting (http://hitachiconsulting.com)

<PackageReference Include="Xigadee.Core" Version="0.95.16246.1-prerelease" />

.NET API 344,064 bytes

 PersistenceEntityContainer<K, E>

public class PersistenceEntityContainer<K, E> where K : IEquatable<K>
public int Count { get; }

public int CountReference { get; }

public ICollection<K> Keys { get; }

public ICollection<Tuple<string, string>> References { get; }

public ICollection<E> Values { get; }

public int Add(K key, E value, IEnumerable<Tuple<string, string>> references = null)

public void Clear()

public bool ContainsKey(K key)

public bool ContainsReference(Tuple<string, string> reference)

public bool Remove(K key)

public bool Remove(Tuple<string, string> reference)

public bool TryGetValue(K key, out E value)

public bool TryGetValue(Tuple<string, string> reference, out E value)

public int Update(K key, E newEntity, IEnumerable<Tuple<string, string>> newReferences = null)