Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Separating Biz tier and UI
Message
De
04/05/2009 12:34:00
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:
01397792
Vues:
108
>Hi everybody,
>
>I was trying to follow John's article but I think I made a newbie mistake. I was supposed to create a separate Business project to put my DataSets there, correct?
>
>If yes, what type of project this one should be, can I move the DataSets created in the main project (the one with the main form) into this new project in VS or I have to delete them there and add separately?
>
>Can you please give me some guidance in this aspect?
>
>Thanks in advance.

Naomi,

I refactored some of the code from the article into the solution I had you download. That solution has the correct (in my mind) way to set up your projects. The datasets are included in the business layer as shown in the project.

You can put your datasets anywhere you like as long as you reference the dll containing them when you need to use them. You have the roadmap before you, just set up your project as shown and you should be allright.

Delete the "observers.csv" file from your project as it is not needed. That slipped in there during a recent code camp. I was showing something about how the file system processed these files.

You have everyhting you need to build your project according to the samples I gave you. If you cannot understand what is there, then I can't help you further.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform