DbCommandBuilder.RefreshSchema Method

Definition

Очищает команды, связанные с этим объектом DbCommandBuilder.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

Вызов метода RefreshSchema эффективно удаляет все объекты DbCommand, на которые ссылается SelectCommand,Calling the RefreshSchema method effectively removes all the DbCommand objects referred to by the SelectCommand,

UpdateCommand,UpdateCommand,

DeleteCommand иDeleteCommand, and

InsertCommand свойства.InsertCommand properties.

Applies to

See also