|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Regenerate datasetsHow do other "regenerate a dataset" and when that term is used, what does it
mean? Telling the designer to "generate" a dataset results in a NEW file, which you then have to jerk around to fit into the old structure. An easier way seems to be just to go into the designer and make changes. Example, I'm making changes to the underlying database. So I go into the .xsd and delete the old table structure and add the new table structure (and relations). Is there any other way? Hi Earl,
I preffer generating my datasets using a template based code generator such as CodeSmith - that way you can automate everything. Or perhaps an even better option is to use an ORM product that takes care of this issue (I would recommend LLBLGenPro). -- Show quoteMiha Markic [MVP C#, INETA Country Leader for Slovenia] RightHand .NET consulting & development www.rthand.com Blog: http://cs.rthand.com/blogs/blog_with_righthand/ "Earl" <brikshoe@newsgroups.nospam> wrote in message news:%23A$8zTG$GHA.1196@TK2MSFTNGP02.phx.gbl... > How do other "regenerate a dataset" and when that term is used, what does > it mean? Telling the designer to "generate" a dataset results in a NEW > file, which you then have to jerk around to fit into the old structure. An > easier way seems to be just to go into the designer and make changes. > Example, I'm making changes to the underlying database. So I go into the > .xsd and delete the old table structure and add the new table structure > (and relations). Is there any other way? > Thanks Miha, I'll take a look at those tools.
Show quote "Miha Markic [MVP C#]" <miha at rthand com> wrote in message news:%23dNkRJZ$GHA.4292@TK2MSFTNGP02.phx.gbl... > Hi Earl, > > I preffer generating my datasets using a template based code generator > such as CodeSmith - that way you can automate everything. > Or perhaps an even better option is to use an ORM product that takes care > of this issue (I would recommend LLBLGenPro). > > -- > Miha Markic [MVP C#, INETA Country Leader for Slovenia] > RightHand .NET consulting & development www.rthand.com > Blog: http://cs.rthand.com/blogs/blog_with_righthand/ > > "Earl" <brikshoe@newsgroups.nospam> wrote in message > news:%23A$8zTG$GHA.1196@TK2MSFTNGP02.phx.gbl... >> How do other "regenerate a dataset" and when that term is used, what does >> it mean? Telling the designer to "generate" a dataset results in a NEW >> file, which you then have to jerk around to fit into the old structure. >> An easier way seems to be just to go into the designer and make changes. >> Example, I'm making changes to the underlying database. So I go into the >> .xsd and delete the old table structure and add the new table structure >> (and relations). Is there any other way? >> > > |
|||||||||||||||||||||||