Bug - Entity Developer Class Names and Pluralization

Bug - Entity Developer Class Names and Pluralization

Postby Nahmis » Tue 17 Nov 2009 16:06

When generating our classes we have an ADDRESS table which comes out as:
Code: Select all
public Devart.Data.Linq.Table
Address
{
   get
   {
      return this.GetTable
();
   }
}


Template is default:
Code: Select all
public Devart.Data.Linq.Table<[%EscapedName FullName%]> [%EscapedName [GetPluralName Name]%]
{
   get
   {
      return this.GetTable<[%EscapedName FullName%]>();
   }
}


This should be DataContext.Addresses instead of DataContext.Address, it doesn't seem to correctly pluralize this as it does the rest of our tables, e.g.:
Code: Select all
public Devart.Data.Linq.Table Emails
{
   get
   {
      return this.GetTable();
   }
}
Nahmis
 
Posts: 30
Joined: Mon 13 Jul 2009 21:38

Postby Shalex » Wed 18 Nov 2009 09:28

Thank you for your report. We will notiy you when the issue is fixed.
Shalex
Devart Team
 
Posts: 7608
Joined: Thu 14 Aug 2008 12:44


Return to dotConnect for Oracle