Regenerate datasets

E

Earl

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?
 
M

Miha Markic [MVP C#]

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).
 
E

Earl

Thanks Miha, I'll take a look at those tools.

Miha Markic said:
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 said:
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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top