开发者

PLINQO Not Naming Entities Correctly

开发者 https://www.devze.com 2022-12-23 18:44 出处:网络
I have my CSP file set up to use TableNaming and EntityNaming as Singular: <TableNaming>Singular</TableNaming>

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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号