Deutsche Bank, the German financial giant that has a significant business in the United States, said on Tuesday that it would freeze its plans to add jobs in North Carolina, a response to the passage last month of a state law that, among other things, eliminates antidiscrimination protections based on sexual orientation.

Deutsche Bank had planned to create 250 positions at its technology development center in Cary, N.C., a municipality near Raleigh, that currently employees 900 people.

In explaining why those plans had been delayed, John Cryan, co-chief executive of Deutsche Bank, took aim at the new law, which also bars transgender people from using bathrooms that do not match their gender at birth.

“We’re proud of our operations and employees in Cary and regret that as a result of this legislation we are unwilling to include North Carolina in our U.S. expansion plans for now,” Mr. Cryan said in a statement, “We very much hope that we can revisit our plans to grow this location in the near future.”