示例#1
0
 ///Загрузить текст MSSQL запроса.
 private void FormParserLoad(object sender, EventArgs e)
 {
     FBAFile.FileReadTextObject(textQuery, FBAPath.PathSettings + "MSSQL.txt");
     RefreshFiles();
     sys.ConnectLocal();
     progressBarParser.Value = 0;
 }
示例#2
0
        ///Загрузка файла с запросом.
        private void LoadFileSQL(string TestName)
        {
            if (TestName == "")
            {
                return;
            }
            string FileName = TestName + ".txt";

            if (!FBAFile.FileReadTextObject(ListSQL, FBAPath.PathSettings + FileName))
            {
                ListSQL.Text = "";
            }

            FileName = TestName + "_Result.txt";
            if (!FBAFile.FileReadTextObject(ListResult, FBAPath.PathSettings + FileName))
            {
                ListResult.Text = "";
            }
        }
示例#3
0
 ///Загрузить все.
 private void LoadAll()
 {
     FBAFile.FileReadTextObject(tbTextSQLite, FBAPath.PathAdditional + "NewDatabase_SQLite.sql");
     FBAFile.FileReadTextObject(tbTextPostgre, FBAPath.PathAdditional + "NewDatabase_Postgre.sql");
     FBAFile.FileReadTextObject(tbTextMSSQL, FBAPath.PathAdditional + "NewDatabase_MSSQL.sql");
 }