PC Review


Reply
Thread Tools Rate Thread

DataRow without any reachable constructor

 
 
=?Utf-8?B?w4Fyb24gS29sb3pz?=
Guest
Posts: n/a
 
      11th Jun 2005
Hi everybody,

I'm about to develop a hierarchical data object system using ADO.NET. It has
to support paging, so it is efficient to store any properties of "child"
pages in the "parent" DataRow. (The relation betweend them is managed by
DataRelations.)

So that, I wanted to derive the DataRow class but unfortunately there is no
reachable constructor of it. It is OK that the DataRow must be created by the
datatable. If I derive the DataTable class and override the NewRowFromBuilder
method I won't be able to construct an object of a derived DataRow class
because of the problem described above.

Why is the constructor "protected internal DataRow(DataRowBuilder builder)
" internal? And on the same way, why is the NewRowFromBuilder method
protected (and reachable for derived classes)?

Thank you, best regards,

Áron Kolozs

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Distinguish 2 situations when a DataRow in Detached state; Or why not make the data row intact after being added then removed from a dataRow collection? Ryan Liu Microsoft Dot NET 0 7th Jun 2006 03:04 PM
Distinguish 2 situations when a DataRow in Detached state; Or why not make the data row intact after being added then removed from a dataRow collection? Ryan Liu Microsoft C# .NET 0 7th Jun 2006 02:14 AM
create new DataRow, init fields, then set DataRow to UnChanged? Les Caudle Microsoft ADO .NET 2 4th May 2004 05:42 PM
Re: Casting Data.Datarow to a strongly typed datarow CJ Taylor Microsoft VB .NET 4 21st Apr 2004 08:09 AM
Calling overloaded constructor with values inside another constructor Tristan Microsoft C# .NET 2 30th Mar 2004 01:05 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:54 AM.