(SQL) SQL (2014)

New SQL Server project templates for VS2015 (CSSqlAggregate.cs)

   1:  using System;
   2:  using System.Data;
   3:  using System.Data.SqlClient;
   4:  using System.Data.SqlTypes;
   5:  using Microsoft.SqlServer.Server;
   6:   
   7:  [Serializable]
   8:  [Microsoft.SqlServer.Server.SqlUserDefinedAggregate(Format.Native)]
   9:  public struct $safeitemname$
  10:  {
  11:      public void Init()
  12:      {
  13:          // $PutYourCodeHereComment$
  14:      }
  15:   
  16:      public void Accumulate(SqlString Value)
  17:      {
  18:          // $PutYourCodeHereComment$
  19:      }
  20:   
  21:      public void Merge ($safeitemname$ Group)
  22:      {
  23:          // $PutYourCodeHereComment$
  24:      }
  25:   
  26:      public SqlString Terminate ()
  27:      {
  28:          // $PutYourCodeHereComment$
  29:          return new SqlString (string.Empty);
  30:      }
  31:   
  32:      // $PlaceholderFieldComment$
  33:      public int _var1;
  34:  }




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/CSSqlAggregate-cs.htm
<SITEMAP>  <MVC>  <ASP>  <NET>  <DATA>  <KIOSK>  <FLEX>  <SQL>  <NOTES>  <LINUX>  <MONO>  <FREEWARE>  <DOCS>  <ENG>  <CHAT ME>  <ABOUT ME>  < THANKS ME>