refactor(FinalizeDocumentJob): Add service container configuration code as a comment
This commit is contained in:
@@ -69,6 +69,29 @@ Namespace Jobs
|
||||
Dim oConnectionString As String = pContext.MergedJobDataMap.Item(Value.DATABASE)
|
||||
Database = New MSSQLServer(LogConfig, MSSQLServer.DecryptConnectionString(oConnectionString))
|
||||
|
||||
'#Disable Warning BC40000 ' Type or member is obsolete
|
||||
' Factory.Shared _
|
||||
' .BehaveOnPostBuild(PostBuildBehavior.Ignore) _
|
||||
' .AddEGInfrastructureServices(
|
||||
' Sub(opt)
|
||||
' opt.AddDbTriggerParams(
|
||||
' Sub(triggers)
|
||||
' triggers("Envelope") = New List(Of String) From {"TBSIG_ENVELOPE_AFT_INS"}
|
||||
' triggers("History") = New List(Of String) From {"TBSIG_ENVELOPE_HISTORY_AFT_INS"}
|
||||
' triggers("EmailOut") = New List(Of String) From {"TBEMLP_EMAIL_OUT_AFT_INS", "TBEMLP_EMAIL_OUT_AFT_UPD"}
|
||||
' triggers("EnvelopeReceiverReadOnly") = New List(Of String) From {"TBSIG_ENVELOPE_RECEIVER_READ_ONLY_UPD"}
|
||||
' triggers("Receiver") = New List(Of String)() ' no tigger
|
||||
' triggers("EmailTemplate") = New List(Of String) From {"TBSIG_EMAIL_TEMPLATE_AFT_UPD"}
|
||||
' End Sub)
|
||||
' opt.AddDbContext(
|
||||
' Sub(options)
|
||||
' options.UseSqlServer(oConnectionString) _
|
||||
' .EnableSensitiveDataLogging() _
|
||||
' .EnableDetailedErrors()
|
||||
' End Sub)
|
||||
' End Sub)
|
||||
'#Enable Warning BC40000 ' Type or member is obsolete
|
||||
|
||||
Logger.Debug("Loading Models & Services")
|
||||
Dim oState = GetState()
|
||||
InitializeModels(oState)
|
||||
|
||||
Reference in New Issue
Block a user