New SQL Server project templates for VS2015 (CSSqlTrigger.cs)
1: using System;
2: using System.Data;
3: using System.Data.SqlClient;
4: using Microsoft.SqlServer.Server;
5:
6: public partial class Triggers
7: {
8: // $SqlClrTriggerComment$
9: // [Microsoft.SqlServer.Server.SqlTrigger (Name="$safeitemname$", Target="Table1", Event="FOR UPDATE")]
10: public static void $safeitemname$ ()
11: {
12: // $ReplaceCodeComment$
13: SqlContext.Pipe.Send("$TriggerFiredString$");
14: }
15: }
Comments (
)
<00>
<01>
<02>
<03>
<04>
<05>
<06>
<07>
<08>
<09>
<10>
<11>
<12>
<13>
<14>
<15>
<16>
<17>
<18>
<19>
<20>
<21>
<22>
<23>
Link to this page:
//www.vb-net.com/VS2015-SQL-Server-Project-Templates/CSSqlTrigger-cs.htm
<SITEMAP> <MVC> <ASP> <NET> <DATA> <KIOSK> <FLEX> <SQL> <NOTES> <LINUX> <MONO> <FREEWARE> <DOCS> <ENG> <CHAT ME> <ABOUT ME> < THANKS ME> |