Page 1 of 1

Bug - Entity Developer Class Names and Pluralization

Posted: Tue 17 Nov 2009 16:06
by Nahmis
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();
	}
}

Posted: Wed 18 Nov 2009 09:28
by Shalex
Thank you for your report. We will notiy you when the issue is fixed.