Example #1
0
        void RowUpdating(Object sender, SqlCeRowUpdatingEventArgs e)
        {
            //string ss = e.Row.Table.TableName;

            //StatementType.

            if (e.StatementType == StatementType.Insert)
            {
                // Начало транзакции
                e.Command.Transaction = e.Command.Connection.BeginTransaction();
            }

            //if (e.StatementType == StatementType.Delete)
            //{
            //    string s = e.Row.Table.TableName;
            //}

            AdditionRowUpdating(sender, e);
        }
Example #2
0
 public virtual void AdditionRowUpdating(Object sender, SqlCeRowUpdatingEventArgs e)
 {
 }