Skip to content

System.MissingMethodException: Method not found: 'Boolean PrimaryKey.Identity() #145

@Laura-BSC

Description

@Laura-BSC

What happened?

After updating my version of IA (currently 4.5.9), I am getting the following error when running my SF:

System.Exception: Error occurred in Template: BSC.Modules.EntityFrameworkCore.EntityTypeConfiguration [[Class: obfuscated - ea084f1a-631f-4051-a358-0a86dd5daa9b]]
---> System.MissingMethodException: Method not found: 'Boolean PrimaryKey.Identity()'.
at BSC.Modules.EntityFrameworkCore.Templates.EntityTypeConfiguration.EntityTypeConfigurationTemplate.GetAttributeMapping(AttributeModel attribute)
at BSC.Modules.EntityFrameworkCore.Templates.EntityTypeConfiguration.EntityTypeConfigurationTemplate.TransformText() in C:_Projects\Catalyst-Intent-Modules\BSC.Modules\BSC.Modules.EntityFrameworkCore\Templates\EntityTypeConfiguration\EntityTypeConfigurationTemplate.tt:line 20
at Intent.Modules.Common.Templates.IntentTemplateBase.RunTemplate() in /mnt/vss/_work/4/s/Modules/Intent.Modules.Common/Templates/IntentTemplateBase.cs:line 221
at Intent.Modules.Common.CSharp.Templates.CSharpTemplateBase`1.RunTemplate() in /mnt/vss/_work/2/s/Modules/Intent.Modules.Common.CSharp/Templates/CSharpTemplateBase.cs:line 245

The data source for the primary key on that class is set to 'Default', although changing it to 'Auto-generated' doesn't solve the problem, and the problem persists on other tables (tested by temporarily removing that class and rerunning the SF).

I have tried updating all the Intent modules in my project, as well as manually re-installing each of them

In the meantime I'll manually configure the new tables I need to add but this is a serious blocker

How is This Issue Affecting You?

❌ I am completely blocked and need urgent help (Critical)

What version of Intent Architect are you using?

4.5.9

Additional information

No response

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions