B
butch77
Hi
For every project I need entity classes for each table.
I'm using an XSD DataSet to retrieve the data from the DB.
Since these classes are always very similar, I was wondering, whether
I could just develop a little generator program, that uses a template
to generate my class.
I've been searching the web for any good software for entity-class
generators but I couldn't find any. Any suggestions?
So my main question now is: what is the best way (very practically
explained) how to read the DBs table structure with all primary and
foreign keys?
And is there any way to maybe develop a plugin for VS that reads a XSD
file and generates the entities.
Thanks!!!
For every project I need entity classes for each table.
I'm using an XSD DataSet to retrieve the data from the DB.
Since these classes are always very similar, I was wondering, whether
I could just develop a little generator program, that uses a template
to generate my class.
I've been searching the web for any good software for entity-class
generators but I couldn't find any. Any suggestions?
So my main question now is: what is the best way (very practically
explained) how to read the DBs table structure with all primary and
foreign keys?
And is there any way to maybe develop a plugin for VS that reads a XSD
file and generates the entities.
Thanks!!!