DataAdapter.CloneInternals Metodo

Definizione

Attenzione

use 'protected DataAdapter(DataAdapter)' ctor

Attenzione

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

Attenzione

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

Crea una copia di questa istanza di DataAdapter.

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.  http://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.  https://go.microsoft.com/fwlink/?linkid=14202")]
protected virtual System.Data.Common.DataAdapter CloneInternals();
[<System.Obsolete("use 'protected DataAdapter(DataAdapter)' ctor")>]
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("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
Protected Overridable Function CloneInternals () As DataAdapter

Valori restituiti

Istanza clonata di DataAdapter.

Attributi

Commenti

Questo metodo è deprecato. Il DataAdapter costruttore deve essere utilizzato invece di questo metodo.

Tutti i comandi, , TableMappingsMissingSchemaAction, e MissingMappingAction vengono clonati. Tuttavia, le connessioni per i comandi non vengono copiate, ma condivise. Pertanto, il clonato DataAdapter può essere usato con la stessa connessione dell'originale.

Note per gli eredi

Quando si esegue l'override CloneInternals() in una classe derivata, assicurarsi di chiamare il metodo della classe di CloneInternals() base.

Si applica a

Vedi anche