AdsCommandBuilder.RefreshSchema

Advantage .NET Data Provider

  Previous topic Next topic  

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.