The EntitySet name xxx could not be found.

Posted by adamjellyit on Stack Overflow See other posts from Stack Overflow or by adamjellyit
Published on 2010-06-16T06:46:54Z Indexed on 2010/06/16 6:52 UTC
Read the original article Hit count: 1240

Filed under:

I create a simple table in SqlServer .. key field integer, 4 strings and a Timestamp

This Table is called Event .. which pluralizes to Events.(the checkbox was ticked)

I run the Entity Builder in VS2010 just adding this table only.

EntityModelXXX x = new EntityModelXXX(); // create an object 'e' here x.AddToEvents(e);

produces an error :

The EntitySet name 'EntityModelXXX.Events' could not be found.

It doesn't seem to find the set .. why?

© Stack Overflow or respective owner

Related posts about entity-framework