As the question says... does Subsonic not like the word Data so it changes it?
+1
A:
Data is the plural of Datum. SubSonic generates classes with singular names, so converts the table name CoreData to the class name CoreDatum.
Adam
2010-02-10 14:37:13
Better rename the table then
Jon
2010-02-10 16:02:03
I believe there is a setting to stop subsonic renaming plural tables. Well there was in 2.0 "fixPluralClassNames"
Pino
2010-02-10 16:51:42
cant see it in 3
Jon
2010-02-10 18:37:23
Check the T4 files - I believe it's in the _Setting.tt where we set the name of the tables (either there, or in _SQLServer.ttt - or whichever provider you use). We call a class called "Inflector" that handles the pluralization feature - overwrite that as you will...
Rob Conery
2010-02-10 18:50:58
Thanks Rob appreciate it
Jon
2010-02-10 20:26:30