DataAdapter.CloneInternals Méthode

Définition

Attention

use 'protected DataAdapter(DataAdapter)' ctor

Attention

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

Attention

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

Crée une copie de cette instance de 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

Retours

Instance cloné de DataAdapter.

Attributs

Remarques

Cette méthode est déconseillée. Le DataAdapter constructeur doit être utilisé au lieu de cette méthode.

Toutes les commandes, le TableMappings, le MissingSchemaAction, et le MissingMappingAction sont clonés. Toutefois, les connexions pour les commandes ne sont pas copiées, mais partagées. Ainsi, le cloné DataAdapter peut être utilisé par rapport à la même connexion que l’original.

Notes pour les héritiers

En cas de CloneInternals() substitution dans une classe dérivée, veillez à appeler la méthode de la classe de CloneInternals() base.

S’applique à

Voir aussi