private void transformInsertTable(string tableName, string tableType)
 {
     var context = new InsertTableContext(tableName, tableType)
                       {
                           ProcedureNamePrefix = @"usp_", 
                           ProcedureNameSuffix = @"",
                       };
     /*
     using (var template = new InsertTableTemplate(context))
     {
         template.Initialize();
         var text = template.TransformText();
     }
     */
 }
Exemple #2
0
        private void transformInsertTable(string tableName, string tableType)
        {
            var context = new InsertTableContext(tableName, tableType)
            {
                ProcedureNamePrefix = @"usp_",
                ProcedureNameSuffix = @"",
            };

            /*
             * using (var template = new InsertTableTemplate(context))
             * {
             *  template.Initialize();
             *  var text = template.TransformText();
             * }
             */
        }
Exemple #3
0
 /// <summary>
 /// コンストラクタ―。
 /// </summary>
 /// <param name="context"></param>
 public InsertTableTemplate(InsertTableContext context)
 {
     this._context = context;
 }
 /// <summary>
 /// コンストラクタ―。
 /// </summary>
 /// <param name="context"></param>
 public InsertTableTemplate(InsertTableContext context)
 {
     this._context = context;
 }