示例#1
0
        public bool EliminarLogo(ClienteBE obe)
        {
            bool           rpta = false;
            SqlTransaction sqltrans;

            using (SqlConnection con = new SqlConnection(strCnxRule))
            {
                con.Open();
                sqltrans = con.BeginTransaction();
                rpta     = oClienteDA.EliminarLogo(con, sqltrans, obe);
                if (rpta)
                {
                    sqltrans.Commit();
                }
                else
                {
                    sqltrans.Rollback();
                }
            }
            return(rpta);
        }