views:

141

answers:

0

I am using MyGeneration 1.3.0.3 with the Xsd3b plugin. I am trying to generate some CSLA 3.5 C# classes from an Xsd3b XML file that I extracted from my SQL Server database. The template language exposes a number of fileds for each column, including a DbTargetType and a LanguageType. My problem is that the DbTargetType and LanguageType are showing up as "unknown" for all columns. I have tried each of the four db target types in the dropdown on the defaults page and none of them seem to have any effect. Does anyone have any guidance upon how to set the defaults to get these two values to show up properly?

I can browse the database structure in the MyMeta Browser. It is showing the correct structure. The DataType and DataTypeName and the DataTypeNameComplete values are showing up for each column correctly. I could write up a mapping function of my own but I would like to use the existing functionality if I could.

Jon Stonecash