rhughes
rhughes

Reputation: 9583

Type in auto-generated pluralized name

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.

Upvotes: 0

Views: 91

Answers (1)

Agent Shark
Agent Shark

Reputation: 525

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

Upvotes: 1

Related Questions