0

I have my CSP file set up to use TableNaming and EntityNaming as Singular:

 <TableNaming>Singular</TableNaming>
 <EntityNaming>Singular</EntityNaming>

Yet the generated entities are plural.

For instance, I have a table called Companies. The generated name is "Companies" I expected "Company" (like LinqToSql did -- I am upgrading a project.)

I have a table named EntityStorageItems (no relation to these entities.) The generated name is "EntityStorageItems" I expected the entity name to be "EntityStorageItem"

IOW, it is creating plural names. And I need them to be singular (to work with existing code.)

Am I doing something wrong?

CleverPatrick
  • 9,261
  • 5
  • 63
  • 86
  • Did you change your CSP after your DBML had been generated? I *think* (maybe wrong) these keys only take effect on additions to the model. – CResults Mar 19 '10 at 22:25
  • I deleted / recreated all the generated files multiple times (including the DBML.) – CleverPatrick Mar 20 '10 at 22:16

1 Answers1

2

This should be fixed in PLINQO 5.0.

Thanks -Blake Niemyjski

Blake Niemyjski
  • 3,432
  • 3
  • 25
  • 41