예제 #1
0
    public static void Main(String[] args)
    {
        Test_Connection tests = new Test_Connection();

        tests.ChangeDatabase();
        tests.ConnectionString();
    }
예제 #2
0
    public static void Main(String[] args)
    {
        Test_Connection tests = new Test_Connection();

        tests.ChangeDatabase();
        tests.ConnectionString();
    }
예제 #3
0
        private void Authentification_Load(object sender, EventArgs e)
        {
            Test_Connection t = new Test_Connection();

            if (t.testServer() == false)
            {
                MessageBox.Show("Votre application n'est pas connecté avec la base de donnée ou bien le serveur est desactivé", "Impossible d'ouvrir l'application", MessageBoxButtons.OK, MessageBoxIcon.Error);
                Application.Exit();
            }
        }
예제 #4
0
    public static void Main(String[] args)
    {
        Test_Connection tests = new Test_Connection();

        tests.GetBoolean();
        tests.GetChars();
        tests.GetInt32();
        tests.GetInt16();
        tests.GetDecimal();
        tests.GetDouble();
        tests.GetFloat();
        tests.GetString();
        tests.GetValueByName();
    }
예제 #5
0
파일: test_5.cs 프로젝트: zapov/Npgsql2
    public static void Main(String[] args)
    {
        Test_Connection tests = new Test_Connection();

        tests.GetBoolean();
        tests.GetChars();
        tests.GetInt32();
        tests.GetInt16();
        tests.GetDecimal();
        tests.GetDouble();
        tests.GetFloat();
        tests.GetString();
        tests.GetValueByName();
    }
예제 #6
0
    public static void Main(String[] args)
    {
        Test_Connection tests = new Test_Connection();

        tests.ParametersGetName();
        tests.NoNameParameterAdd();
        tests.FunctionCallFromSelect();
        tests.ExecuteScalar();
        tests.FunctionCallReturnSingleValue();
        tests.FunctionCallReturnSingleValueWithPrepare();
        tests.FunctionCallWithParametersReturnSingleValue();
        tests.FunctionCallWithParametersPrepareReturnSingleValue();
        tests.FunctionCallReturnResultSet();
        tests.CursorStatement();
        tests.PreparedStatementNoParameters();
        tests.PreparedStatementWithParameters();
    }
예제 #7
0
    public static void Main(String[] args)
    {
        Test_Connection tests = new Test_Connection();

        tests.ParametersGetName();
        tests.NoNameParameterAdd();
        tests.FunctionCallFromSelect();
        tests.ExecuteScalar();
        tests.FunctionCallReturnSingleValue();
        tests.FunctionCallReturnSingleValueWithPrepare();
        tests.FunctionCallWithParametersReturnSingleValue();
        tests.FunctionCallWithParametersPrepareReturnSingleValue();
        tests.FunctionCallReturnResultSet();
        tests.CursorStatement();
        tests.PreparedStatementNoParameters();
        tests.PreparedStatementWithParameters();
    }