File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -919,10 +919,11 @@ void LocalLazyLoadingCode(string lmbdWhere)
919919
920920 if ( pnvAttr ? . ManyToMany != null )
921921 {
922- isManyToMany = propElementType != trytb . Type &&
923- tbref . Properties . Where ( z => ( z . Value . PropertyType . GetGenericArguments ( ) . FirstOrDefault ( ) == trytb . Type || z . Value . PropertyType . GetElementType ( ) == trytb . Type ) &&
924- common . GetEntityNavigateAttribute ( tbref . Type , z . Value ) ? . ManyToMany == pnvAttr . ManyToMany &&
925- typeof ( IEnumerable ) . IsAssignableFrom ( z . Value . PropertyType ) ) . Any ( ) ;
922+ isManyToMany = propElementType != trytb . Type
923+ // && tbref.Properties.Where(z => (z.Value.PropertyType.GetGenericArguments().FirstOrDefault() == trytb.Type || z.Value.PropertyType.GetElementType() == trytb.Type) &&
924+ // common.GetEntityNavigateAttribute(tbref.Type, z.Value)?.ManyToMany == pnvAttr.ManyToMany &&
925+ // typeof(IEnumerable).IsAssignableFrom(z.Value.PropertyType)).Any()
926+ ;
926927
927928 if ( isManyToMany == false )
928929 {
You can’t perform that action at this time.
0 commit comments