G
Guest
Hi, NG!
Is there any way to share DataTable "definitions" across multiple DataSets
in the DataSet designer? To make it more clear I need to have a "master"
DataSet that contains unrelated tables (that are read-only at runtime,
reference lists...) At runtime an instance of this DataSet will be globally
accessible. Is it possible to access DataTables in this "master" DataSet
from some other DataSets that have very different functionalities, but need
to refer to some of these read-only lists?
So, the needs are actually two: share DataTables between DataSets in the
DataSet designer and second, at run-time, make DataTables in different
DataSets access a single copy of data, i.e. the tables in a "master"
object/DataSet.
To make it even more clear there's a need for some read-only data across the
entire application... and the ability to incorporate these tables in
different scenarios/areas of the application, work with the
relations/constraints in the designer... designer-aided databindings etc...
The single DataSet per application solution would be quite messy...
I guess this is a common need, but I cannot figure a way to implement it...
I'm working with C# in VS 2005 Standard Edition.
Any suggestion is very appreciate. Thanks in advance.
pax
Is there any way to share DataTable "definitions" across multiple DataSets
in the DataSet designer? To make it more clear I need to have a "master"
DataSet that contains unrelated tables (that are read-only at runtime,
reference lists...) At runtime an instance of this DataSet will be globally
accessible. Is it possible to access DataTables in this "master" DataSet
from some other DataSets that have very different functionalities, but need
to refer to some of these read-only lists?
So, the needs are actually two: share DataTables between DataSets in the
DataSet designer and second, at run-time, make DataTables in different
DataSets access a single copy of data, i.e. the tables in a "master"
object/DataSet.
To make it even more clear there's a need for some read-only data across the
entire application... and the ability to incorporate these tables in
different scenarios/areas of the application, work with the
relations/constraints in the designer... designer-aided databindings etc...
The single DataSet per application solution would be quite messy...
I guess this is a common need, but I cannot figure a way to implement it...
I'm working with C# in VS 2005 Standard Edition.
Any suggestion is very appreciate. Thanks in advance.
pax