0

I appreciate this is purely semantic and pedantic, but...

EF has pluralized my table:

tblPhotoShootItemUploadedPhoto

as

tblPhotoShootItemUploadedPhotoes

(For those who's mother toungue isn't English, it should be tblPhotoShootItemUploadedPhotos - no e at the end before the s)

What is the easiest way to change this so that it doesn't get incorrectly pluralized again when I regenerate the edmx file?

I am generating the edmx from an already existing database.

rhughes
  • 9,257
  • 11
  • 59
  • 87

1 Answers1

1

In the edmx designer,

  1. Click on the table.
  2. Change the Entity Set Name in the table properties.
  3. Regenerate your Context.

This is in EF6, not sure about EF5.

enter image description here

Agent Shark
  • 517
  • 2
  • 6