-----------------------------------------------------------

New Message on MumbaiUserGroup

-----------------------------------------------------------
From: AjaySingala[Synergetics]
Message 5 in Discussion

Kavindra,

The "custom" emtity idea is good, but imagine this. U've said that the "custom" entity 
is smart 'coz it has all get/set and does all database connectivity by itself, right?

What if there is a change in the database tomorrow? U want to make changes to your 
entity? Frankly, if you ask me, the entity by itself should not even know anything 
about the database. U should use an extra layer here which will do all database 
interactions.

DataSets by themselves are quiet heavy as compared to DataReaders, definitely, but 
they have many advantages too. Also, doing updates directly from a DataSet is also not 
a very good idea on an Enterprise Solution. Do it thru the business and data access 
layers instead.

Also, you will not use DataSets all the time. For e.g.; if you are just going to 
retrieve a list of, let's say "Countries" and show them in a DropDownList, you don't 
need to use a DataSt there do you? But you may want to use it if you want to show the 
list in a DataGrid.

As far as having an effect on the performance goes, it all depends on the config of 
the server you see. If we are talking about an Enterprise Solution, I'm sure we're not 
talking about a 256 MB RAM server here right?

Regards,

Ajay Singala [Synergetics].


-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/mumbaiusergroup/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you received 
this message by mistake, please click the "Remove" link below. On the pre-addressed 
e-mail message that opens, simply click "Send". Your e-mail address will be deleted 
from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to