Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Two sets of data from the same biz obj on a web form
Message
 
À
31/08/2007 09:33:41
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01251382
Message ID:
01251840
Vues:
12
Tim,

>Ok, I did not find anythig with GetEntityList() but I did find this. Not sure if I like stepping away from the entities, but if it works (I won't know until I get the data part of my app working).
>
>public DataSet GetDisplayItemsByType(int type, tableName)
>{
>     this.FillDataSet(this.GetCurrentDataSet(), "SELECT * FROM DisplayItem WHERE Type = " + type, tableName);
>}

You need to call the overload where you pass the entity type like this:

<pre>this.GetEntityList<InventoryEntity>("MySprocName", "MyTableName")
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