Exemple #1
0
        ///////////////////////////////////////////

        /// <summary>
        /// Class object initialiser
        /// </summary>
        public void InitClass()
        {
            VistaDBErrorMsgs.SetErrorFunc();
            databaseName = "";
            databaseId   = 0;
            exclusive    = false;
            readOnly     = false;
            parameters   = 0;
            tableList    = new ArrayList();
        }
        /// <summary>
        /// Overloaded constructor.
        /// </summary>
        public VistaDBCommandBuilder(VistaDBDataAdapter adapter)
        {
            VistaDBErrorMsgs.SetErrorFunc();

            dataAdapter   = null;
            insertCommand = null;
            updateCommand = null;
            deleteCommand = null;

            RegisterDataAdapter(adapter);
        }
        /// <summary>
        /// Overloaded constructor.
        /// </summary>
        public VistaDBCommandBuilder()
        {
            VistaDBErrorMsgs.SetErrorFunc();

            //'This call is required by the Component Designer.
            InitializeComponent();

            dataAdapter   = null;
            insertCommand = null;
            updateCommand = null;
            deleteCommand = null;
        }
Exemple #4
0
        /// <summary>
        /// Constructor.
        /// </summary>
        public VistaDBConnection()
        {
            VistaDBErrorMsgs.SetErrorFunc();
            this.connectionState = ConnectionState.Closed;
            this.accessMode      = AccessMode.Local;
            this.vistaDBSQL      = null;

            this.dataSource    = null;
            this.database      = null;
            this.cypher        = CypherType.None;
            this.password      = null;
            this.exclusive     = false;
            this.readOnly      = false;
            this.loginUser     = "";
            this.loginPassword = "";
        }
Exemple #5
0
 /// <summary>
 /// Used internally to initialize the object.
 /// </summary>
 public void InitClass()
 {
     VistaDBErrorMsgs.SetErrorFunc();
 }