aspnetcore icon indicating copy to clipboard operation
aspnetcore copied to clipboard

Inserting on Table has Trigger

Open KerolosMalak opened this issue 10 years ago • 3 comments

I am working on ASP.NET Core app with 1- Asp.Net 5 2- EF 7 3- .Net FrameWork 4.6 when i insert on table and this table has triggers ,SQL reports the following error " The target table of the DML statement cannot have any enabled triggers if the statement contains an OUTPUT clause without INTO clause " what is the workaround for this issue?

KerolosMalak avatar Jul 19 '16 15:07 KerolosMalak

http://stackoverflow.com/questions/13198476/cannot-use-update-with-output-clause-when-a-trigger-is-on-the-table

simonmurdock avatar Jul 19 '16 15:07 simonmurdock

@simonmurdock
sql statement generated automatically by entity framework 7 , i can't control on it . and i can't find where this statment generated

KerolosMalak avatar Jul 19 '16 16:07 KerolosMalak

This issue is being closed because it has not been updated in 3 months.

We apologize if this causes any inconvenience. We ask that if you are still encountering this issue, please log a new issue with updated information and we will investigate.

aspnet-hello avatar Dec 30 '17 23:12 aspnet-hello