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

Created Unassigned: Appended 1 to class name [76]

$
0
0
The template is appending a 1 to my class names.

It seems that this is being done in in the ef.referse.poco.core.ttinclude t4 template on the following lines

// Check for table or C# name clashes
if (ReservedKeywords.Contains(table.NameHumanCase) ||
(useCamelCase && result.Find(x => x.NameHumanCase == table.NameHumanCase) != null))
{
table.NameHumanCase += "1";
}

The tables being renamed are Application and Question. Why would they be renamed? I can see maybe that Application may be reserved but is 'Question'?


ty

Viewing all articles
Browse latest Browse all 1642

Trending Articles



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