using BeWo.Data.Entities; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BeWo.Data.Utils { public static class BeWoEntityExtension { public static Dictionary ToOidVersionDictionary(this IEnumerable entities) => entities.ToDictionary(x => x.Oid.Value, x => x.Version.Value); } }