I'm trying to scaffold an existing database using the LinqToDB templates. All of the tables in the database have a prefix of "tbl", i.e "tblPerson". I would like to strip this (and other prefixes) from my type names. I tried modifying the DataModel.ttinclude file in the LinqToDB.Templates directory but it doesn't seem to have any affect.
TypeName = t.TypeName.StartsWith("Tbl") ? t.TypeName.Replace("Tbl","") : t.TypeName,
Clearly I'm missing something simple.