DbCommandBuilder.RefreshSchema Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Calling the RefreshSchema method effectively removes all the DbCommand objects referred to by the SelectCommand,
DeleteCommand, and
InsertCommand properties.
Applies to
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.