private static string GetVersionField <TEntity, TKey>() where TEntity : IVersionedEntity <TKey> where TKey : notnull { return(BsonClassMap.LookupClassMap(typeof(TEntity)).GetMemberMap(nameof(IVersionedEntity <TKey> .Version)).ElementName); }