Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GetAllEntities() not populating EntityList
Message
De
06/04/2007 02:38:53
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
GetAllEntities() not populating EntityList
Versions des environnements
Environment:
C# 2.0
OS:
Windows XP SP2
Database:
MS SQL Server
Divers
Thread ID:
01212884
Message ID:
01212884
Vues:
63
I was suprised today to discover that calling bizObj.GetAllEntities() did not populate the bizObj.EntityList property with the result. I had assumed that it would since the Windows Form Jump Start calls this method for the Shippers and Employees business objects for generating the data for binding to the combo boxes (guess they actually use the dataset that is created along the way and not the entities themselves that appear to be thrown away...).

I guess I can do: bizObj.EntityList = bizObj.GetAllEntites() but why doesn't it happen automatically (this falls under the category of trying to better understand the framework)? Or is there a problem with doing this?

Regards,
Greg Lee
Greg Lee
GCL Software
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform