public static IEntityType?GetClosestCommonParent( this IEntityType entityType1, IEntityType entityType2) => (IEntityType?)entityType1.FindClosestCommonParent(entityType2);
public static IEntityType?GetClosestCommonParent( [NotNull] this IEntityType entityType1, [NotNull] IEntityType entityType2) => (IEntityType?)entityType1.FindClosestCommonParent(entityType2);