DbCommandBuilder.RefreshSchema Method

定义

清除与此 DbCommandBuilder 关联的命令。 Clears the commands associated with this DbCommandBuilder.

public virtual void 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.

适用于