SubSonic error: db.tables with a ~ in the name result in a "Character is not valid" error
- by Steven
I renamed a database table and added a ~ character to the table name (my way of notifying it is a backup of something). After generating the SubSonic files, my Visual Studio gives a "Character not valid" error on file "AllStructs.vb"
When looking into this file the following line of code was generated;
Public Shared ReadOnly DbTable1~old As String = "dbtable1~old".
I assume this character has to be filtered out of the db.table names when generating the SubSonic names?