Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What's the difference between Dataset.clone and Dataset.copy?

Answer Posted / muzism

Shallow copy is when the address of the object is assigned
to another of the same type. If a change to one is made,
the change is apparent in both instances.

Deep copy is when the entire contents of the object are
copied from one object into another. Hence, there are two
autonomous instances of the object. If a change to one is
made, the change is confined to that object.

Dataset.clone() duplicates (only) the structure of an
dataset, with no data being duplicated.

Dataset.copy() performs a deep copy of the dataset

Is This Answer Correct ?    19 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What DataReader class do in ADO.NET ?

1100


Does sqlclient and oledb class share the same functionality?

941


Define table relations?

987


What is the role of clr?

951


What is ambient transaction?

949


What is ado data control?

1004


How to maintain the relation between two tables in ADO.NET?

1013


What are the differences between OLEDB and SQLClient Providers?

1165


What is aggregate root?

1108


How to Read, Add, Update and Delete record in Entity Framework ?

1040


What is the use of Dataview?

1134


What is the difference between data grid and data repeater?

1080


What does executereader return?

986


What is the difference between ADO and ADO.Net?

1085


What are disadvantages of microsoft-provided data provider classes in ado.net?

1039