New SQL Server project templates for VS2015 (VBSqlTrigger.vb)
1: Imports System
2: Imports System.Data
3: Imports System.Data.SqlClient
4: Imports System.Data.SqlTypes
5: Imports Microsoft.SqlServer.Server
6:
7:
8: Partial Public Class Triggers
9: ' $SqlClrTriggerComment$
10: ' <Microsoft.SqlServer.Server.SqlTrigger(Name:="$safeitemname$", Target:="Table1", Event:="FOR UPDATE")> _
11: Public Shared Sub $safeitemname$ ()
12: ' $ReplaceCodeComment$
13: SqlContext.Pipe.Send("$TriggerFiredString$")
14: End Sub
15: End Class
Comments (
)
Link to this page:
//www.vb-net.com/VS2015-SQL-Server-Project-Templates/VBSqlTrigger-vb.htm
|