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

定义

清除与此 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 ()

注解

调用RefreshSchema方法中有效地删除所有DbCommand由对象引用SelectCommandCalling the RefreshSchema method effectively removes all the DbCommand objects referred to by the SelectCommand,

UpdateCommand,UpdateCommand,

DeleteCommandDeleteCommand, and

InsertCommand 属性。InsertCommand properties.

适用于

另请参阅