"Generate Entities from Sql Server Database" produced many validation errors

Mar 24, 2009 at 12:39 PM
Data Source: SQL Server 2008, AdventureWorks2008
Sculpture: LINQ + WCF + ASP

Even if I omitted the validation errors, I could not generate any code piece. Any tips ?

Thanks !
Mar 25, 2009 at 10:32 AM
I think unless you "fix" and not "omit" the validation errors, you shouldn't expect any proper code being generated.

Mar 25, 2009 at 10:47 AM
Hi shafa,
In some other scenarios, if I "omit" the errors, the code can still be generated and running well.
But in my AdventureWorks2008 scenario, I encountered too many validation errors to resolve one by one manually (some are name conflict errors).
I think the schema of AdventureWorks2008 is not very complex for importing (I can see all entities & relationships on the designer) so I'm wondering why there will be so many validation errors on the 1st-time model generation ?