Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to set the datarow with Entity List from a dataReade
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
VB 8.0
OS:
Windows XP SP2
Database:
Oracle
Divers
Thread ID:
01195773
Message ID:
01196344
Vues:
24
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform