W
W.G. Rowland
Having struggled in vain with the idea of making custom business objects,
I'm now wondering how safe it is to just modify a Typed Dataset.
It would be simple enough to add validation logic to the property code. My
fear is that once I've modified the dataset code, Visual Studio is going to
go and change the code if I hit the wrong key..
Here are the steps I go through to create the typed dataset:
1) Create a class library project to contain them
2) Add New Item - Dataset to the project
3) Create the schema, adding tables and relations
4) Generate the dataset..
5) Modify the .vb file with my customizations..
My question is, is there any way in VS, other than specifically going into
the schema and selecting Generate Dataset, that will cause VS to rebuild the
code for the dataset? If there is, I need to know so I can avoid
accidentally deleting my custom datasets once I've built them..
Hopefully, I'm just paranoid, but I have been bitten before by MS's tendancy
to gleefully reformat and rewrite your work on a whim.
Thanks in advance,
W.G. Rowland
I'm now wondering how safe it is to just modify a Typed Dataset.
It would be simple enough to add validation logic to the property code. My
fear is that once I've modified the dataset code, Visual Studio is going to
go and change the code if I hit the wrong key..
Here are the steps I go through to create the typed dataset:
1) Create a class library project to contain them
2) Add New Item - Dataset to the project
3) Create the schema, adding tables and relations
4) Generate the dataset..
5) Modify the .vb file with my customizations..
My question is, is there any way in VS, other than specifically going into
the schema and selecting Generate Dataset, that will cause VS to rebuild the
code for the dataset? If there is, I need to know so I can avoid
accidentally deleting my custom datasets once I've built them..
Hopefully, I'm just paranoid, but I have been bitten before by MS's tendancy
to gleefully reformat and rewrite your work on a whim.
Thanks in advance,
W.G. Rowland