RefreshSchema Method

DbCommandBuilder.RefreshSchema Method ()

 

Clears the commands associated with this DbCommandBuilder.

Namespace:   System.Data.Common
Assembly:  System.Data (in System.Data.dll)

public virtual void RefreshSchema()

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

UpdateCommand,

DeleteCommand, and

InsertCommand properties.

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft