Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Very newbie question on business objects
Message
De
29/03/2005 01:00:55
 
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00999237
Message ID:
00999604
Vues:
43
Dmitry,

I think Joe's reply had some good info in it ... some of what I was trying to say.

Typed DataSets are not that hard. Perhaps you'll find something helpful in your Googling. Once you understand how to generate Typed DataSets (and even sub-class them, though Dave will probably disagree with me there <g>), you'll then be able to see how they'll help you in your Biz classes.

As far as writing an article on Typed DataSets, I've been asked about that before ... I've contemplated it, but never got any further along than that! <g>

Keep asking questions!!

~~Bonnie


>Bonnie,
>
>I will check out the google for "typed datasets", as I know nothing about them. It seems to me, however, that deciding between a DataSet and a Typed DataSet is an advanced topic, way beyond of what I am trying to learn. It's like you guys are already flying and I am not even running <g>. I believe Joe Salvatore's reply (at least the top of it) sheds some light on how to start building a BO.
>
>Maybe some day you will write an article for UT Mag on how to build a simple BO based on Typed DS (for novices like me)? (Sort of like "Hello World" of a BO <g>. And I am not kidding, I think there are more people who don't understand this stuff than there are those who do.
>
>Thank you so much for your input.
>
>>Dmitry,
>>
>>We use both Business Objects and Typed DataSets. As I mentioned in my reply to Dave's post, there is a big difference between DataSets and Typed DataSets and the article he mentioned was saying that using DataSets was not good. And I agree with that ... Typed DataSets are infinitely preferable. They can be further sub-classed to put in some additional functionality if you need to (but I wouldn't go overboard with too much stuff).
>>
>>The way we do it, the business-type logic is in the biz classes, but everything passes around Typed DataSets between the "layers" (data access layer to biz layer to Web Service to UI and back again). I was looking around for some good URLs on the subject, but the best I can suggest is to just do a Google on "Typed DataSets" and see what you can find.
>>
>>~~Bonnie
>>
>>
>>
>>>The message posted by David Foderick about whether to use or not to use DataSet as a business object prompted me to come out of the closet <g>. I admit I still don't understand business objects.
>>>
>>>Can someone point me to a simple page explaining how DataSet is used as a business object. Or if you have time and don't mind, can you give me a very simple example of how DataSet (or not dataset) works as a business object. Somethink like a one-window application of maintaining customer database.
>>>
>>>Thank you in advance.
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform