コード例 #1
0
        private void UnregisterDataAdapter()
        {
            dataAdapter.RowUpdating -= new VistaDBRowUpdatingEventHandler(OnRowUpdating);

            dataAdapter   = null;
            insertCommand = null;
            updateCommand = null;
            deleteCommand = null;
        }
コード例 #2
0
        /// <summary>
        /// Overloaded constructor.
        /// </summary>
        public VistaDBCommandBuilder(VistaDBDataAdapter adapter)
        {
            VistaDBErrorMsgs.SetErrorFunc();

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

            RegisterDataAdapter(adapter);
        }
コード例 #3
0
        /// <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;
        }
コード例 #4
0
 private void RegisterDataAdapter(VistaDBDataAdapter adapter)
 {
     dataAdapter              = adapter;
     dataAdapter.RowUpdating += new VistaDBRowUpdatingEventHandler(OnRowUpdating);
     RefreshSchema();
 }
コード例 #5
0
		/// <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;
		}
コード例 #6
0
		/// <summary>
		/// Overloaded constructor.
		/// </summary>
		public VistaDBCommandBuilder(VistaDBDataAdapter adapter)
		{
			VistaDBErrorMsgs.SetErrorFunc();

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

			RegisterDataAdapter(adapter);
		}
コード例 #7
0
		private void UnregisterDataAdapter()
		{
			dataAdapter.RowUpdating -= new VistaDBRowUpdatingEventHandler(OnRowUpdating);

			dataAdapter = null;
			insertCommand = null;
			updateCommand = null;
			deleteCommand = null;
		}
コード例 #8
0
		private void RegisterDataAdapter(VistaDBDataAdapter adapter)
		{
			dataAdapter = adapter;
			dataAdapter.RowUpdating += new VistaDBRowUpdatingEventHandler(OnRowUpdating);
			RefreshSchema();
		}