PLINQO Not Naming Entities Correctly

Posted by Clever Human on Stack Overflow See other posts from Stack Overflow or by Clever Human
Published on 2010-03-19T21:29:33Z Indexed on 2010/03/19 21:31 UTC
Read the original article Hit count: 193

Filed under:

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?

© Stack Overflow or respective owner

Related posts about plinqo