EF CORE 8: Tables with Stored Procedures

Posts   
 
    
JoeE
User
Posts: 11
Joined: 28-Nov-2023
# Posted on: 22-Jan-2024 15:15:35   

Hi,

*** Heading should read "Tables with TRIGGERS". Sorry about that.

I am using EF Core 8 on MSSQL and have a couple of tables that contains Triggers.

According to documentation I need to use HasTrigger("") to indicate to EF that the table has triggers in order to fall back to the "old way" of handing updates - https://learn.microsoft.com/en-us/ef/core/what-is-new/ef-core-7.0/breaking-changes?tabs=v7#sqlserver-tables-with-triggers

What would be the correct way to handling this? Is there a flag that I should set in the designer? Or maybe another way of getting around updating a table which contains triggers?

Regards,

Joe

Walaa avatar
Walaa
Support Team
Posts: 14984
Joined: 21-Aug-2005
# Posted on: 22-Jan-2024 18:29:16   
JoeE
User
Posts: 11
Joined: 28-Nov-2023
# Posted on: 23-Jan-2024 10:15:51   

Walaa wrote:

Please check this thread

https://llblgen.com/TinyForum/Thread/27648/1

Got it working. Thank you.