예제 #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();
		}