Hi Alex,
The best answer to that question is: why don't you try it out. Simply drag your examples table on the design surface of the EF designer as explained in the book. Then save your changes, create a new instance of the EF context and see if the method is there.
The second best answer is: yes, the method is created automatically, depending on the actual object and set name. If you make sure the class ends up as Example, and the set name as Examples, you should end up with an AddToExamples method.
Cheers,
Imar
|