DbCommandBuilder.RefreshSchema Method ()

 

Clears the commands associated with this DbCommandBuilder.

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

abstract RefreshSchema : unit -> unit
override RefreshSchema : unit -> unit

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: