Quantcast
Channel: EntityFramework Reverse POCO Code First Generator
Viewing all articles
Browse latest Browse all 1642

New Post: How do I stop this table from being pluralized?

$
0
0
Hi,

I have a table name like: MyLongNameTable_TAS

It always ends up as: MyLongNameTable_TA

How can I stop it from dropping the final S in the table name?

I have tried:
Inflector.PluralizationService = new EnglishPluralizationService(new[]
    {
        new CustomPluralizationEntry("MyLongNameTable_TAS", "MyLongNameTable_TAS")
    });
but it hasn't helped. Any ideas?

Thanks

Viewing all articles
Browse latest Browse all 1642

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>