Information générale
Catégorie:
The Mere Mortals .NET Framework
Titre:
Business Layer Generator Exception
When I am generating business objects for my views, I get an error:
Message: Item has already been added. Key in dictionary: 'dbo.vvxInventoryActivity' Key being added: 'dbo.vvxInventoryActivity'
Source: mscorlib
Stack Trace:
at System.Collections.Hastable.Insert(...)
at System.Collections.Hastable.Add(...)
at MMBusinessLayerGenerator.mmWizardPageSelectData.ProcessDBCObjects(...) in C:\Program Files\Mere Mortals .Net Framework 2005\MMBusinessLayerGenerator\MMBusinessLayerGenerator\mmWizardPageSelectData.cs:Line 1611
at MMbusinessLayerGenerator.mmWizardPageSelectData.GetDatabaseObjects() in C:\...mmWizardPageSelectData. cs:line 1348
I couldn't copy and paste the message, so forgive the skips in data.
It seems there is a problem when there are several (3) unions in the query. I have another routine with one union and it works fine.
Jeff
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement