I need to generate an XML like the below one with constraints as tags and column name as values for a specific DB table in c#.
<tablename> <key>ProductId</key> <composite> <column>ProductId</column> <column>ProductCode</column> <composite> <ForeignKey> <column>ProductBaseId</column> </ForeignKey> </tablename>
Can anyone help on this?
No comments:
Post a Comment