DataAdapter.CloneInternals Método

Definição

Cuidado

CloneInternals() has been deprecated. Use the DataAdapter(DataAdapter from) constructor. https://go.microsoft.com/fwlink/?linkid=14202

Cuidado

CloneInternals() has been deprecated. Use the DataAdapter(DataAdapter from) constructor instead.

Cuidado

CloneInternals() has been deprecated. Use the DataAdapter(DataAdapter from) constructor. http://go.microsoft.com/fwlink/?linkid=14202

Cuidado

use 'protected DataAdapter(DataAdapter)' ctor

Cria uma cópia dessa instância do DataAdapter.

protected:
 virtual System::Data::Common::DataAdapter ^ CloneInternals();
[System.Obsolete("CloneInternals() has been deprecated.  Use the DataAdapter(DataAdapter from) constructor.  https://go.microsoft.com/fwlink/?linkid=14202")]
protected virtual System.Data.Common.DataAdapter CloneInternals ();
[System.Obsolete("CloneInternals() has been deprecated. Use the DataAdapter(DataAdapter from) constructor instead.")]
protected virtual System.Data.Common.DataAdapter CloneInternals ();
[System.Obsolete("CloneInternals() has been deprecated.  Use the DataAdapter(DataAdapter from) constructor.  http://go.microsoft.com/fwlink/?linkid=14202")]
protected virtual System.Data.Common.DataAdapter CloneInternals ();
[System.Obsolete("use 'protected DataAdapter(DataAdapter)' ctor")]
protected virtual System.Data.Common.DataAdapter CloneInternals ();
[<System.Obsolete("CloneInternals() has been deprecated.  Use the DataAdapter(DataAdapter from) constructor.  https://go.microsoft.com/fwlink/?linkid=14202")>]
abstract member CloneInternals : unit -> System.Data.Common.DataAdapter
override this.CloneInternals : unit -> System.Data.Common.DataAdapter
[<System.Obsolete("CloneInternals() has been deprecated. Use the DataAdapter(DataAdapter from) constructor instead.")>]
abstract member CloneInternals : unit -> System.Data.Common.DataAdapter
override this.CloneInternals : unit -> System.Data.Common.DataAdapter
[<System.Obsolete("CloneInternals() has been deprecated.  Use the DataAdapter(DataAdapter from) constructor.  http://go.microsoft.com/fwlink/?linkid=14202")>]
abstract member CloneInternals : unit -> System.Data.Common.DataAdapter
override this.CloneInternals : unit -> System.Data.Common.DataAdapter
[<System.Obsolete("use 'protected DataAdapter(DataAdapter)' ctor")>]
abstract member CloneInternals : unit -> System.Data.Common.DataAdapter
override this.CloneInternals : unit -> System.Data.Common.DataAdapter
Protected Overridable Function CloneInternals () As DataAdapter

Retornos

DataAdapter

A instância clonada de DataAdapter.

Atributos

Comentários

Esse método é preterido. O DataAdapter construtor deve ser usado em vez desse método.

Todos os comandos, o TableMappings, o MissingSchemaActione os MissingMappingAction são clonados. No entanto, as conexões para os comandos não são copiadas, mas compartilhadas. Assim, a clonagem DataAdapter pode ser usada na mesma conexão que a original.

Notas aos Herdeiros

Ao substituir CloneInternals() em uma classe derivada, chame o método da CloneInternals() classe base.

Aplica-se a

Confira também