Compartilhar via


DbProviderServices.CloneDbCommand(DbCommand) Método

Definição

Confira o problema 2390 – clonar a propriedade DesignTimeVisible no DbCommand pode causar deadlocks. Portanto, aqui, permita que subclasses substituam.

protected virtual System.Data.Common.DbCommand CloneDbCommand (System.Data.Common.DbCommand fromDbCommand);
abstract member CloneDbCommand : System.Data.Common.DbCommand -> System.Data.Common.DbCommand
override this.CloneDbCommand : System.Data.Common.DbCommand -> System.Data.Common.DbCommand
Protected Overridable Function CloneDbCommand (fromDbCommand As DbCommand) As DbCommand

Parâmetros

fromDbCommand
DbCommand

o DbCommand objeto a clonar

Retornos

um clone do DbCommand

Aplica-se a