Edit

Share via


DbCommandBuilder.RefreshSchema Method

Definition

Clears the commands associated with this DbCommandBuilder.

public virtual void RefreshSchema();

Remarks

Calling the RefreshSchema method effectively removes all the DbCommand objects referred to by the SelectCommand,

UpdateCommand,

DeleteCommand, and

InsertCommand properties.

Applies to

See also