C
cartoper
* Plateform: .Net 2.0
* Question:
Is ado.net the solution? If so, what should I be looking into?
* Data:
schedule containing:
1 to n properties
collection of lines
line containing:
1 to n properties
* Data Source:
An engine that needs to take the saving of the data to keep a version
history. The design is complete for how the versioning will be kept;
it is based on doing a difference of what is saved and what is in
memory.
* Problem
How to display this data and allow the user to make changes to it.
* My thoughts
I have limited knowledge of ado.net, but I am guessing that it is
pretty straight forward to display the collection of lines, or a
DataSet table of lines, in a datagrid. What I don't understand is
how best to couple the data in the engine with a dataset. Do I simply
create a DataSet (one of those .xsd files) and create a table for the
collection of lines, have the engine populate it and have the GUI send
it back to the engine for saving? Or is there a more sophisticated way
of creating my own DataSet? Are there other ado.net classes I should
be learning about to make the engine a sort of provider for then GUI?
* Question:
Is ado.net the solution? If so, what should I be looking into?
* Data:
schedule containing:
1 to n properties
collection of lines
line containing:
1 to n properties
* Data Source:
An engine that needs to take the saving of the data to keep a version
history. The design is complete for how the versioning will be kept;
it is based on doing a difference of what is saved and what is in
memory.
* Problem
How to display this data and allow the user to make changes to it.
* My thoughts
I have limited knowledge of ado.net, but I am guessing that it is
pretty straight forward to display the collection of lines, or a
DataSet table of lines, in a datagrid. What I don't understand is
how best to couple the data in the engine with a dataset. Do I simply
create a DataSet (one of those .xsd files) and create a table for the
collection of lines, have the engine populate it and have the GUI send
it back to the engine for saving? Or is there a more sophisticated way
of creating my own DataSet? Are there other ado.net classes I should
be learning about to make the engine a sort of provider for then GUI?