Beispiel #1
0
            /// <summary>
            /// XML Comment
            /// </summary>
            /// <param name="givenTransaction"></param>
            /// <returns></returns>
            /// <remarks></remarks>
            public override int DeleteCurrentValues(System.Data.SqlClient.SqlTransaction givenTransaction = null)
            {
                int   affectedRows = 0;
                MD501 dataObj      = new MD501(ref settings);

                affectedRows += dataObj.DeleteData("GEND", settings.VariableKey1);
                return(affectedRows);
            }
Beispiel #2
0
            /// <summary>
            /// XML Comment
            /// </summary>
            /// <param name="givenTransaction"></param>
            /// <returns></returns>
            /// <remarks></remarks>
            public override int DeleteCurrentValues(System.Data.SqlClient.SqlTransaction givenTransaction = null)
            {
                int affectedRows = 0;
                tbl_payment_type    tblPaymentType   = new tbl_payment_type(ref settings);
                tbl_payment_type_bu tblPaymentTypeBu = new tbl_payment_type_bu(ref settings);

                affectedRows  = tblPaymentType.DeleteCurrentValues();
                affectedRows += tblPaymentTypeBu.DeleteCurrentValues();
                MD501 dataObj = new MD501(ref settings);

                affectedRows += dataObj.DeleteData("PAYT", settings.VariableKey1);
                return(affectedRows);
            }