Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to set the datarow with Entity List from a dataReade
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
VB 8.0
OS:
Windows XP SP2
Database:
Oracle
Miscellaneous
Thread ID:
01195773
Message ID:
01196344
Views:
25
Mario,

>1) When I loop through the EntityList and assign the values of the current item into my bo.Entity object, the "hasvalues" property is still false (why?). However, the properties of the entity are populated and show data.Do I need to use the "setdatarow" method to populate the entity object. How would I achieve this because the setdatarow expects datarow parameter. What would I achieve by that, at the end it seems that my entity object has values.

In its current iteration the entity object returns false when checking the HasValues property if there is no underlying DataRow. It sounds like everything else is working? In our next version HasValues will return true even if you populate it from a DataReader.

Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Previous
Reply
Map
View

Click here to load this message in the networking platform