diff --git a/src/BlueWest.EfMethods/EfGeneratorContext.cs b/src/BlueWest.EfMethods/EfGeneratorContext.cs index 7c6ce0a..349acb6 100644 --- a/src/BlueWest.EfMethods/EfGeneratorContext.cs +++ b/src/BlueWest.EfMethods/EfGeneratorContext.cs @@ -454,7 +454,7 @@ namespace BlueWest.EfMethods private EfGetManyModel ExtractEfGetManyModel(MemberDeclarationSyntax uProperty, SemanticModel semanticModel, EfEntityDataModel entityDataModel) { - var efTypeofSymbols =GetEntityTypeSymbol(uProperty, EfGetOneByAttributeSource.AttributeName, semanticModel); + var efTypeofSymbols =GetEntityTypeSymbol(uProperty, EfGetManyAttributeSource.AttributeName, semanticModel); string returnTypeIdentifierName = entityDataModel.EntityTypeIdentifierName; string returnTypeFullName = entityDataModel.EntityTypeFullName;