can you look at data as objects?

F

Flip

Sorry for the obvious newbie type question. :< And I know doing stuff in
Java is not 100% transferable to c#/.net, so I apologize for my ignorance.
But I am asking, therefore trying to learn.

In j2ee you can create entity ejbs to model data as objects. The benefit is
you can use the objects in your code as just that, objects. I haven't been
able to see if .net can do this, is this true/false? Oh, before you get too
far with wrtting things up, I'm just looking for a nudge in the right
direction as opposed to being teleported to the spot as I'm not ready to
implement, but still inquisitive none the less.

Thank you! :>
 
J

Jay B. Harlow [MVP - Outlook]

Flip,
You can use either a Typed DataSet to represent your "data" as objects, or
you can create a Domain object model to represent your "data" as objects.

A Typed DataSet is an implementation of Martin Fowler's Record Set pattern:
http://martinfowler.com/eaaCatalog/recordSet.html

Martin Fowler's "Patterns of Enterprise Application Architecture" from
Addison Wesley can be found here: http://martinfowler.com/books.html#eaa

Hope this helps
Jay
 
G

Guest

Within the confines of the drag and drop software model? No, at least not
until ObjectDataSources in .NET 2.0 (Visual Studio 2005 underlying
framework), which is in beta now. This will be further enhanced in Longhorn
with ObjectSpaces, which is an ORM framework.

Underlying the DataSet model are a set of classes, but they are not true
"business objects" like correctly architected EJBs.


---

Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

***************************
Think Outside the Box!
***************************
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top