I\'m using WS class and it gave me error when I run the application:
The type or namespace name \'Entity\' does not exist in the namespace \'System.Data\' <
I had to refresh my DBModel. That solved it