Add Companies

Apr 12, 2011 at 7:22 AM

I follow your steps to add companies but this error occour :

 

The EntitySet name 'DatabaseContext.Companies' could not be found.

 

Line 93:                 if ((_Companies == null))
Line 94:                 {
Line 95:                     _Companies = base.CreateObjectSet<Company>("Companies");
Line 96:                 }
Line 97:                 return _Companies;

 

Can you help me ?

Apr 14, 2011 at 11:45 AM

All OK !

The problem was in connectionstring ...

Coordinator
Apr 14, 2011 at 7:31 PM

Nice to hear that it worked for you!