Esempio n. 1
0
        public static PropertyCounts GetCounts([NotNull] this IEntityType entityType)
        {
            var countsAccessor = entityType as IPropertyCountsAccessor;

            return(countsAccessor != null
                ? countsAccessor.Counts
                : entityType.CalculateCounts());
        }