Hi All,
I'm trying to clone a class instance, which have rich collection of internal property values. Theses data are fetched from the database. I want to clone this instance in which the changes made in that instance will not affect the real one time created instance. Please refer the below code snippet:
- public class DB_Data
- {
- public DB_Data Data
- { get; internal set; }
- public DB_Data()
- { }
- public void DB_Schema()
- {
- // code to get data from DataBase;
- }
- }
Kindly share your ideas. Thanks in advance.
Regards,
Amresh S.

Madhanmohan DevarajanPosted Oct 27, 2016, 9:43 AM
Manas MohapatraPosted Oct 27, 2016, 9:19 AM