Is there an easy way to copy one complete row, and overwrite the key columns afterwards?
I have a table with a lot of columns. I don't like to write a copy routine manually, because there are so much columns.
Is there any way to copy them all together?
How to copy one complete row?
Re: How to copy one complete row?
There are three ways:software931 wrote:Is there an easy way to copy one complete row, and overwrite the key columns afterwards?
1) write your own code for cloning each object;
2) use some "third-party" code/library like http://stackoverflow.com/questions/1334 ... rence-type
3) we will implement the "Implement IClonable" option in our Entity Developer templates to generate all objects with the IClonable implementation. We will post here when the corresponding build of Entity Developer is available for download.
Re: How to copy one complete row?
The "Implement IClonable" option for the generated classes based on the model entities is added to all templates. We will post here when the corresponding build of Entity Developer is available for download.
Re: How to copy one complete row?
New version of Entity Developer 4.7 is released!
It can be downloaded from http://www.devart.com/entitydeveloper/download.html (trial version) or from Registered Users' Area (for users with active subscription only).
For more information, please refer to http://forums.devart.com/viewtopic.php?f=32&t=25013.
It can be downloaded from http://www.devart.com/entitydeveloper/download.html (trial version) or from Registered Users' Area (for users with active subscription only).
For more information, please refer to http://forums.devart.com/viewtopic.php?f=32&t=25013.