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

La llamada al método RefreshSchema quita eficazmente todos los objetos DbCommand a los que hace referencia el SelectCommand.Calling the RefreshSchema method effectively removes all the DbCommand objects referred to by the SelectCommand,

UpdateCommand,UpdateCommand,

DeleteCommand yDeleteCommand, and

InsertCommand propiedades.InsertCommand properties.

Se aplica a

Consulte también: