#1 2023-10-16 16:38:47

Stemon63
Member
Registered: 2016-10-24
Posts: 50

Fastest way to convert ISQLDBRows data into Myclass

Hi,
I need to convert ISQLDBRows results data into my "business" classes for perform complex calculation (with master/details) and then export the Json.
What is the fastest (and easy) way for "marshall" ISQLDBRows to a list of MyClass?
Thanks in advance!

Offline

#2 2023-10-16 19:13:01

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,659
Website

Re: Fastest way to convert ISQLDBRows data into Myclass

Export as JSON then marshal it into MyClass instances if possible.

Offline

#3 2023-10-17 09:48:46

Stemon63
Member
Registered: 2016-10-24
Posts: 50

Re: Fastest way to convert ISQLDBRows data into Myclass

:-)
The first thing I thought was that there will surely be a direct method avoiding the passage via Json... :-)

Offline

Board footer

Powered by FluxBB