HighTechTalks DotNet Forums  

MSSQL Trigger Not Firing from DBML?

Dotnet Framework (ADO.net) microsoft.public.dotnet.framework.adonet


Discuss MSSQL Trigger Not Firing from DBML? in the Dotnet Framework (ADO.net) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
SnapDive
 
Posts: n/a

Default MSSQL Trigger Not Firing from DBML? - 07-07-2010 , 09:16 PM






I have an AFTER INSERT trigger on my MSSQL 2008 database table. Using
SSMS, I can insert and the trigger fires and all is fine.

If I use my DataContext, create an object, populate it, and
SubmitChanges() the row gets into the table but the trigger never
fires.

I need this trigger! Someone, please tell me how to get the DBML to
play nice with my trigger. Also, how can I see the TSQL that LINQtoSQL
is generating for the insert, maybe that will help me debug?


Thanks.

Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.