Files
BeWoPlaner/Data/Utils/BeWoEntityExtension.cs

16 lines
397 B
C#
Raw Permalink Normal View History

2025-12-12 14:15:58 +01:00
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<long, long> ToOidVersionDictionary(this IEnumerable<BeWoEntityBase> entities)
=> entities.ToDictionary(x => x.Oid.Value, x => x.Version.Value);
}
}