DynDeveloper.com

DynDeveloper.com

Sign Up Now! Log In
DavidM 4/20/2015 3:44:17 PM

Tesing .NET reflection

* This article, and all our great .NET Development documentation, Is available on the .NET Development menu

This is an interesting piece of code, it took me a day to write it and I don't want to lose it so I'm going to blog it here.

The code uses reflection to populate an eConnect class (taSOPHdrIvcInsert... but it'll work for any class) with data from a stored procedure... by iterating through the class.

Reflection is cool.

Version: Unknown or N/A
Section: Visual Studio Tools for Dynamics GP,eConnect,SQL Scripts,.NET Development