File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Orm/Xtensive.Orm/Orm/Building/Builders Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -79,15 +79,14 @@ private void BuildSingleTableIndexes(TypeInfo type)
79
79
if ( ! type . IsAbstract )
80
80
primaryIndexFilterTypes . Add ( type ) ;
81
81
primaryIndexFilterTypes . AddRange ( descendants ) ;
82
-
82
+
83
83
// Import inherited indexes
84
84
var ancestorIndexes = root . Indexes
85
85
. Where ( i => types . Contains ( i . ReflectedType ) && ! i . IsTyped )
86
86
. Reverse ( )
87
87
. Select ( i => untypedIndexes . Contains ( i )
88
88
? root . Indexes . Single ( index => index . DeclaringIndex == i . DeclaringIndex && index . ReflectedType == type && index . IsTyped )
89
- : i )
90
- . ToList ( ) ;
89
+ : i ) ;
91
90
foreach ( var ancestorIndex in ancestorIndexes ) {
92
91
if ( type . Indexes . Any ( i =>
93
92
i . DeclaringIndex == ancestorIndex . DeclaringIndex &&
You can’t perform that action at this time.
0 commit comments