There are a couple more work around that you could try in order to fix this. Before you try any of these be sure to backup your dgen file. I'm not 100% sure if these will work.
First work around:
Open the dgen plan using the vs xml editor. Find the <ColumnConfig> element that represents the column for which you cannot change the generator to the right type. A sub element of this will be the <UseDefaultGeneratorConfiguration> element. Its value should be false. Set it to true, and save the file. Reload it using the standard dgen designer, and see if the right generator gets set for the column. (e.g. integer instead of fk).
Second work around:
Open the dgen plan using the vs xml editor. Find the <ColumnConfig> element that represents the column for which you cannot change the generator. Delete this entire element. Save the dgen file, open it using the standard designer, and accept the schema changes. See if the right generator gets set for the column.
Let me know if any of these will work.
|