DataAdapter.CloneInternals Method
Definition
Caution
CloneInternals() has been deprecated. Use the DataAdapter(DataAdapter from) constructor. http://go.microsoft.com/fwlink/?linkid=14202
Caution
CloneInternals() has been deprecated. Use the DataAdapter(DataAdapter from) constructor. https://go.microsoft.com/fwlink/?linkid=14202
Caution
use 'protected DataAdapter(DataAdapter)' ctor
Creates a copy of this instance of DataAdapter.
protected:
virtual System::Data::Common::DataAdapter ^ CloneInternals();
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")]
protected virtual System.Data.Common.DataAdapter CloneInternals ();
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
[<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
Returns
The cloned instance of DataAdapter.
- Attributes
Remarks
This method is deprecated. The DataAdapter constructor should be used instead of this method.
All the commands, the TableMappings, the MissingSchemaAction, and the MissingMappingAction are cloned. However, the connections for the commands are not copied, but shared. Thus, the cloned DataAdapter can be used against the same connection as the original.
Notes to Inheritors
When overriding CloneInternals() in a derived class, be sure to call the base class's CloneInternals() method.