Navigation:  Advantage .NET Data Provider > AdsCommandBuilder Class > AdsCommandBuilder Methods >

AdsCommandBuilder.RefreshSchema

Advantage .NET Data Provider

Previous pageReturn to chapter overviewNext page

Refreshes the database schema information used to generate INSERT, UPDATE, or DELETE statements.

public void RefreshSchema();

Remarks

An application should call RefreshSchema whenever the SelectCommand value of the AdsDataAdapter associated with the AdsCommandBuilder changes. The SelectCommand is not associated directly with the AdsCommandBuilder, so it has no way of automatically detecting when it is changed.