Is there a structure/class to store meta-info of a class so that I can generate code to a file?

A

A.Neves

Hi,

I'm trying to map the database tables to a set of classes in c#. I was
thinking to create a class to store the data about my classes
(properties/methods/etc...) by maby it is not necessary if C#/CLR has
already this functionality.

Can anyone give me some hints? Thanks.
 
G

Guest

You can take a look at the ObjectDataSource class. If you want to get more
sophisticated, there are a number of what are called "ORM" -
object-relational-mapping frameworks.
Peter
 

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