Deductions & credits

If a real estate broker transfers a rental property that is on schedule E to an LLC are there capital gains taxes? What about S Corp? Does ownership % factor?