It seemed like a typical political fund-raiser: The California congressman stood in one corner of the comfortable row house in the District, chatting with his wife and several men in pin-striped suits. Outside, on the patio by the pool, was a top aide to the city's mayor.

By Washington standards, the 50 persons there made the fund-raiser a small event: Only $2,000 was raised. But the speechmaking and the presence of a few key politicians and wealthy residents marked this reception as something special.

It was hosted by a well-organized group of Washington gays, newcomers to national politics who are lobbying for anti-discrimination laws and raising money this election season for congressional candidates who support gay rights.

"When we first started this national campaign, we figured we'd raise, say, $100,000," said Stephen R. Endean, the Washington-based treasurer of the Human Rights Campaign Fund, which will give money to 100 candidates nationwide.

"But then the response was so good that we had to revise our goal upward, to $250,000. Now it looks like we'll hit the half-million dollar mark pretty soon," Endean said.

Gay fund-raisers in Washington this year have generated more than $25,000 for the human rights fund, a total Endean says will surpass the amount expected to be raised by San Francisco's larger gay population. The events have been frequent, about one a week recently.

Fund raising by the gay community in suburban Maryland lags well behind the District's, but in Prince George's and Montgomery counties, groups have donated modest sums to some congressional and state office seekers.

"We're a sort of bridge between gays in Baltimore and Washington and the fund raising that goes on there," said Wayne A. Lerch, political director of Gay People of Prince George's.

The 24-year-old county native and New Carrollton resident said his group and the Montgomery-based Suburban Maryland Gay Alliance have worked for candidates in conjuction with the Gertrude Stein Democratic Club, a leading gay activist group in Washington.

The groups contributed $100 each to Thomas Hendershot, an unsuccessful candidate for Prince George's County Council, and Bernard P. Horn, a candidate for delegate from University Park, Lerch said.

"We're just at the organizing stage right now but expect that next year or the year after we'll be able to show some political strength in the suburbs," said Lerch, one of about 150 members of the year-old group in Prince George's.

Although political fund raising by gays for local candidates is not new, Endean and others say gays here are becoming more interested in national issues.

"Gay rights are simply part of the civil rights agenda," said David J. Vos, the liaison to the gay community for Mayor Marion S. Barry's reelection bid. "As the gay rights movement has grown, so has our ability to accomplish things politically."

Five years ago, few politicians would have attended buffet dinners like the recent one. Now, Democrats in the 1984 presidential sweepstakes compete for crucial endorsements and contributions from national gay organizations like the Human Rights Campaign Fund. A recent New York banquet drew former vice president Walter F. Mondale; one recently in Philadelphia featured Sen. Alan Cranston (D-Calif.).

"The most the fund raising means is that in 1984, a presidential candidate cannot be silent on gay rights," said Larry Bush, the Washington editor of The Advocate, a national gay weekly. Bush, who attended the fund-raiser, said major political candidates "will have to make concrete statements on issues affecting gays and lesbians."

The D.C. party -- one of more than 20 held here -- drew some of the city's top political workers and allies: Rep. Julian C. Dixon, a Washington native who now represents part of Los Angeles and its large gay population; David Clarke, expected to be the next city council chairman; and city official Barbara Washington, the District's liaison to Congress.

"Discrimination in any form, be it based on ethnicity or sexual preference, is a strike against all of us," said Dixon, a Democratic member of the D.C. Appropriations Committee in Congress.

If attending gay fund-raisers is something new for politicians, organizing them is just as unusual for gays themselves. "Several people have come up to me tonight and said that five years ago they would have been hesitant to be at a function like this," Dixon told the predominantly male crowd. "But if the cause is right, and if we work together, we can change people's attitudes."

"The money raised here in D.C. is a substantial amount, and it's coming from people who have never given before," said Bush, a journalist who writes frequently on gay political issues. "The strength here is one of the best kept secrets of the gay community across the country. It's a very good structure for political work. The potential is tremendous."

Bush said Washington gays "are more politically sophisticated than most others and work with less fanfare so they can get more done.

"Not that it's clandestine or anything. It's just different than other parts of the country. Everybody looks to San Francisco as the example, but it's really an overblown case; here, they get things done with local and national results," he said.

Endean agrees. "Washington's gay community may not be big in the overall scheme of things, but we aren't afraid of putting money where our mouths are, of getting involved with the candidates who support us. And the money has a very real impact," he said.

However, there is at least one irony to gay politics in Washington.

"The gay community is more apprehensive and closeted here than in other cities," said Endean, "and many don't come out to support the fund or other causes because they're afraid of their names appearing in our FEC (Federal Election Commission) filings." Many gays in government or those in lobbying or public relation firms would lose their jobs if their employers discovered they were gay, he said.

"And that's what's worse: That's exactly the attitude we're fighting."

Although no money from the Human Rights Campaign Fund has gone to any congressional candidate in the Washington area, gays have made large contributions in several close races around the country. Rep. Thomas M. Foglietta, running for reelection from his south Philadelphia district, received $5,000, the legal maximum from the fund. And Rep. William Clay (D-Mo.) received $1,500 in his primary contest, Endean said.

The fund has targeted 10 close races nationwide for contributions, customarily giving money to Democrats.