DbCommandBuilder.RefreshSchema Método

Definición

Borra los comandos asociados a este 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 ()

Comentarios

Llamar al RefreshSchema método de forma eficaz quita todos los DbCommand objetos a los que hace referencia SelectCommand ,Calling the RefreshSchema method effectively removes all the DbCommand objects referred to by the SelectCommand,

UpdateCommand,UpdateCommand,

DeleteCommand y DeleteCommand, and

InsertCommand propiedades.InsertCommand properties.

Se aplica a