Exforsys

Online Training

pros and cons of Typed and untyped dataset

This is a discussion on pros and cons of Typed and untyped dataset within the C Sharp forums, part of the Programming Talk category; Hi, i want to know pros and cons of both Typed and Untyped dataset in detail. can we customize untyped ...


Go Back   Exforsys > Programming Talk > C Sharp

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-05-2007, 09:34 AM
Junior Member
 
Join Date: Jan 2007
Posts: 2
vrushalik is on a distinguished road
pros and cons of Typed and untyped dataset

Hi,

i want to know pros and cons of both Typed and Untyped dataset in detail.

can we customize untyped dataset?

What is benefit of Typed dataset?

is there significant difference between performance of Typed and untyped dataset?

is overhead in typed dataset is of XSD only or any else overhead is there?

What is benefit of using Untyped dataset?

Please give me some concret answers.



thanks

Vrushali
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 05-02-2007, 01:24 PM
Senior Member
 
Join Date: Apr 2006
Posts: 145
Rahulbatra is on a distinguished road
A strongly typed has some methods and properties in it that helps to make it more describing, does it still inherits from dataset. Also a "generated" strongly typed dataset is not easy to change. It is possible you will save a few cycles using untyped DataSets on the back end.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 05-02-2007, 02:49 PM
Senior Member
 
Join Date: Apr 2006
Posts: 141
Adrian is on a distinguished road
The features of the DataSet object can be combined with XML to create a new type of object called the typed DataSet, which simplifies the task of data navigation. This is one of the benefits of typed dataset.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 05-02-2007, 04:26 PM
Senior Member
 
Join Date: Apr 2006
Posts: 162
sammy is on a distinguished road
The nature of a DataSet requires that it is either typed or untyped. By definition a typed DataSet is any DataSet that is derived from the base DataSet class that applies the information contained in the XSD to generate a typed class. Information from the schema that contains the tables, columns, and rows is generated and compiled into a new DataSet derived from the XSD and this promotes the DataSet to a first class object in the .NET Framework. The process of inheriting the typed DataSet from the base DataSet class means that the typed class assumes all functionality of the DataSet class and can be used with methods that take an instance of the DataSet class as a parameter. This is the opposite of the untyped DataSet that has no corresponding schema and is exposed only as a collection.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 05:24 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2004 - 2007 Exforsys Inc. All rights reserved.