Linq to Sql saying that item by 'Customer' already exists. Choose a different name.

Posted by Anthony Potts on Stack Overflow See other posts from Stack Overflow or by Anthony Potts
Published on 2010-04-29T04:02:00Z Indexed on 2010/04/29 4:07 UTC
Read the original article Hit count: 458

Filed under:

I have been going round and round with a linq to sql file while using svn for quite some time. The latest is that my dbml file shows as having an error which states that

An item named "Customer" already exists. Please choose a different name.

And then it repeats that again. In fact, it says it for almost every object. What is my fix? I have tried renaming the one named Customer, but that didn't fix it. I don't know where to go to fix this. I went to the .dbml file and don't see any duplication, and I went to the .dbml.layout file and didn't see any duplication there either.

© Stack Overflow or respective owner

Related posts about linq-to-sql