コード例 #1
0
        /// <summary>
        /// Is this persister has enabled many-to-many filter or has many-to-many where clause
        /// </summary>
        internal static bool IsManyToManyFiltered(this ICollectionPersister persister, IDictionary <string, IFilter> enabledFilters)
        {
            if (persister is AbstractCollectionPersister acp)
            {
                return(acp.IsManyToManyFiltered(enabledFilters));
            }

            return(persister.IsManyToMany && !string.IsNullOrEmpty(persister.GetManyToManyFilterFragment("x", enabledFilters)));
        }