This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
This is a very simple piece of code, but is very useful to us... Enjoy! Please note that "HeAn.Pensioen.Data" is the .DLL that contains out Lightspeed entities that we wish to generate methods for. Substitute this string with the name of your .DLL you wish to examine. This code makes the presumption that the .DLL is in the same folder as the .EXE that is executed...
private void Generate_Click(object sender, EventArgs e)
---------------------------------------------------------- I have also written a code generator to recursivly compare all objects (properties and sub collections) and output the results to a collection... We use this for reporting differences, and taking a certain action based on the results... It can also handle multi-references to other already referenced objects/collections. ie: a DOM where tables contain multi references to each other. It can however be used with small chages as a DEEPCLONE or something similar... If someone would like the code, please give me a shout... |
|
|
Just used this handy piece of code today, worked well once I modified the code to load an assembly from a file correctly. Cheers. |
|