HighTechTalks DotNet Forums  

Trigger Not Firing in LinQ to SQL Insert

ASP.net ASP.net discussions (microsoft.public.dotnet.framework.aspnet)


Discuss Trigger Not Firing in LinQ to SQL Insert in the ASP.net forum.



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

Default Trigger Not Firing in LinQ to SQL Insert - 07-08-2010 , 10:10 AM






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.

But in C#, 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 an after insert trigger.



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.