@@ -437,26 +437,21 @@ module EntityFramework {
437
437
) {
438
438
this = dbSet .getDbContextClass ( ) and
439
439
this .output ( output , mapped , dbSet ) and
440
- result = dbSet .getFullName ( ) + "#" + output .getMadRepresentation ( )
440
+ exists ( string qualifier , string type , string name |
441
+ mapped .hasFullyQualifiedName ( qualifier , type , name ) and
442
+ result = getQualifiedName ( qualifier , type , name )
443
+ )
441
444
}
445
+
446
+ pragma [ nomagic]
447
+ string getSyntheticNameProj ( Property mapped ) { result = this .getSyntheticName ( _, mapped , _) }
442
448
}
443
449
444
450
private class DbContextClassSetProperty extends Property {
445
451
private DbContextClass c ;
446
452
447
453
DbContextClassSetProperty ( ) { this = c .getADbSetProperty ( _) }
448
454
449
- /**
450
- * Gets the fully qualified name for this.
451
- */
452
- string getFullName ( ) {
453
- exists ( string qualifier , string type , string name |
454
- this .hasFullyQualifiedName ( qualifier , type , name )
455
- |
456
- result = getQualifiedName ( qualifier , type , name )
457
- )
458
- }
459
-
460
455
/**
461
456
* Gets the context class where this is a DbSet property.
462
457
*/
@@ -493,7 +488,7 @@ module EntityFramework {
493
488
exists ( string name , Property mapped |
494
489
preservesValue = true and
495
490
c .input ( input , mapped ) and
496
- name = c .getSyntheticName ( _ , mapped , _ ) and
491
+ name = c .getSyntheticNameProj ( mapped ) and
497
492
output = SummaryComponentStack:: syntheticGlobal ( name ) and
498
493
model = "DbContextSaveChanges"
499
494
)
@@ -504,7 +499,7 @@ module EntityFramework {
504
499
* Add all possible synthetic global names.
505
500
*/
506
501
private class EFSummarizedCallableSyntheticGlobal extends SummaryComponent:: SyntheticGlobal {
507
- EFSummarizedCallableSyntheticGlobal ( ) { this = any ( DbContextClass c ) .getSyntheticName ( _ , _ , _) }
502
+ EFSummarizedCallableSyntheticGlobal ( ) { this = any ( DbContextClass c ) .getSyntheticNameProj ( _) }
508
503
}
509
504
510
505
private class DbContextSaveChangesRequiredSummaryComponentStack extends RequiredSummaryComponentStack
0 commit comments