问题描述:

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?

网友答案:

This should be fixed in PLINQO 5.0.

Thanks -Blake Niemyjski

相关阅读:
Top