DbCommandBuilder.RefreshSchema DbCommandBuilder.RefreshSchema DbCommandBuilder.RefreshSchema DbCommandBuilder.RefreshSchema Method

Definition

Clears the commands associated with this DbCommandBuilder.

public:
 virtual void RefreshSchema();
public virtual void RefreshSchema ();
abstract member RefreshSchema : unit -> unit
override this.RefreshSchema : unit -> unit
Public Overridable Sub 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