public static PropertyCounts GetCounts([NotNull] this IEntityType entityType) { var countsAccessor = entityType as IPropertyCountsAccessor; return(countsAccessor != null ? countsAccessor.Counts : entityType.CalculateCounts()); }
public static PropertyCounts GetCounts([NotNull] this IEntityType entityType) { var countsAccessor = entityType as IPropertyCountsAccessor; return(countsAccessor != null ? countsAccessor.Counts : entityType.CalculateCounts()); }