Example #1
0
 private string GenerateCreateProcedureCore(IDatabaseFactory factory, NameWithSchema name, IShellContext context, bool useTransaction, string createKeyword, List<ParameterModel> pars, string editorInfo)
 {
     var cmp = new SqlScriptCompiler(factory, this, context, name.ToString());
     cmp.PutProcedureHeader(name, useTransaction, createKeyword, pars);
     DumpScript(cmp, useTransaction);
     cmp.PutProcedureFooter();
     cmp.PutEditorInfo(editorInfo);
     return cmp.GetCompiledSql();
 }