DavidM
4Penny.net
Points: 7450

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.

4Penny.net
Version: Unknown or N/A
Section: Visual Studio Tools for Dynamics GP,eConnect,SQL Scripts,.NET Development
Table Definition Quick Links
All Tables
SOP Tables
RM Tables
GL Tables
POP Tables
HR Tables
PM Tables
UPR Tables
IV Tables
Olympic Tables
3