コード例 #1
0
 /// <summary>
 /// Построить процедуры
 /// </summary>
 public void BuildProcedures()
 {
     if (_diskPath.GetPath("BuildProcedures"))
     {
         ProcedureConstructorHeler helper = new ProcedureConstructorHeler();
         helper.Construct(Properties, _diskPath.Path);
     }
     else
     {
         _aggregator.PublishOnUIThread("[Инфо]:Папка не выбранна");
     }
 }
コード例 #2
0
        public void AddProcedureTest()
        {
            SimpleInit();
            _helper.Construct(_properties, TestContext.CurrentContext.TestDirectory + "/../..");
            string tableContent    = File.ReadAllText(TestContext.CurrentContext.TestDirectory + "/../../MainTableAdd.sql");
            string expectedContent = FormattUtil.Format(File.ReadAllText(TestContext.CurrentContext.TestDirectory + "/../../ProcedureConstructorHelerTest/AddProcedureTest.sql"));

            Assert.AreEqual(expectedContent, tableContent);
        }
コード例 #3
0
 /// <summary>
 /// Построить процедуры
 /// </summary>
 public void BuildProcedures()
 {
     if (_diskPath.GetPath("BuildProcedures"))
     {
         ProcedureConstructorHeler helper = new ProcedureConstructorHeler();
         helper.Construct(Properties, _diskPath.Path);
     }
     else
     {
         _aggregator.PublishOnUIThread("[Инфо]:Папка не выбранна");
     }
 }