Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Separating Biz tier and UI
Message
De
04/05/2009 23:05:55
John Baird
Coatesville, Pennsylvanie, États-Unis
 
 
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Versions des environnements
Environment:
C# 3.0
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01397788
Message ID:
01397903
Vues:
59
>>If you look at the code, you'll see that the code uses tableadapters and business objects to accomplish the functions. You can ignore projects not referenced in the business layers as far as data is concerned. there are some projects that are left overs after the refactor that I use to show how it was done. You can ignore them.
>>Just concentrate on the bizobjects, windows, controls, etc.
>
>One extra quick question and I think I started to get it a bit
>
>This line
>
> OrdersTableAdapter ta = new OrdersTableAdapter(); // shows in red in Intellisense
>
>while this one
>
> OrderDataSetTableAdapters.OrdersTableAdapter ta = new OrderDataSetTableAdapters.OrdersTableAdapter() ;
>
>shows OK (I used Intellisense to create it). Are they identical? If yes, how can I make the first also work?
>
>Thanks again.

The adapters are created based on the names of the datasets they are created from. If they are okay with the new names, use them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform