T4 Template For Generate Store Procdure

<#@ template hostSpecific="true" #> 

<#@ assembly name="$(ProjectDir)..\..\Lib\NCS.IConnect.CodeGeneration.T4.VS2013.dll" #>

<#@ assembly name="$(ProjectDir)..\..\Lib\NCS.IConnect.Messaging.CodeGeneration.VS2013.dll" #>

<#@ assembly name="$(ProjectDir)..\..\Lib\NCS.IConnect.SqlGeneration.VS2013.dll" #>

<#@ assembly name="$(ProjectDir)..\..\Lib\Microsoft.Practices.Unity.3.dll" #>

<#@ import namespace="NCS.IConnect.SqlGeneration" #>

<#@ import namespace="NCS.IConnect.CodeGeneration" #>

<#@ output extension="sql" #>

<# 

this.RunCodeGenerator( 

    ()=> new SqlProcedureGenerator("Procedures.tt.config", "DefaultConnection", new string[]{

"dbo.T_APPLICATION_ADMIN_ACTION",

"dbo.T_APPLICATION_DRAFT",

"dbo.T_APPLICATION_EMPLOYER",

"dbo.T_BANK_INFO",

"dbo.T_DEVIATION_LIST",

"dbo.T_ELIGIBLE_PARENT",

"dbo.T_EMPLOYER_CPF_CONTRIBUTION",

"dbo.T_EMPLOYER_CSN",

"dbo.T_EMPLOYER_PROFILE",

"dbo.T_GPCL_APPLICATION",

"dbo.T_GPCL_APPLICATION_LEAVE_DETAIL",

"dbo.T_GPCL_CONSOL_LEAVE",

"dbo.T_GPL_APPLICATION",

"dbo.T_GPL_APPLICATION_REJECTION_CODE",

"dbo.T_GPMB_APPLICATION",

"dbo.T_GPMB_APPLICATION_ATTACHMENT",

"dbo.T_GPMB_APPLICATION_EMPLOYMENT",

"dbo.T_GPMB_APPLICATION_INCOME",

"dbo.T_GPML_APPLICATION",

"dbo.T_GPML_APPLICATION_LEAVE_DETAIL",

"dbo.T_GPML_CONSOL_LEAVE",

"dbo.T_GPPL_APPLICATION",

"dbo.T_GPPL_APPLICATION_LEAVE_DETAIL",

"dbo.T_MANUAL_SUBMISSION",

"dbo.T_MANUAL_SUBMISSION_BYPASS",

"dbo.T_MANUAL_SUBMISSION_REASON",

"dbo.T_PARENT_CHILD",

"dbo.T_PERSON",

"dbo.T_PSD_LEAVE",

"dbo.T_PSL_CONSOL_LEAVE",

"dbo.T_PUBLIC_HOLIDAY",

"dbo.T_SPL_APPLICATION",

"dbo.T_SPL_APPLICATION_LEAVE_DETAIL",

"dbo.T_SPLAS_APPLICATION",

"dbo.T_STANDING_PAYMENT_INSTRUCTION",

"dbo.T_USER_PROFILE"

	}));

#>

  

你可能感兴趣的:(template)