Bug - Entity Developer Class Names and Pluralization

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
Nahmis
Posts: 30
Joined: Mon 13 Jul 2009 21:38

Bug - Entity Developer Class Names and Pluralization

Post by 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 [GetPluralName Name]%]
{
	get
	{
		return this.GetTable();
	}
}
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();
	}
}

Shalex
Site Admin
Posts: 8245
Joined: Thu 14 Aug 2008 12:44

Post by Shalex » Wed 18 Nov 2009 09:28

Thank you for your report. We will notiy you when the issue is fixed.

Post Reply