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
|