S
Steve - DND
Just wondering if anyone out there has any code to convert a plural word to
it's singular form and vice versa. Most of our database tables are named in
a plural fashion. When we go to create templates to select a single record,
we end up with a class name that sounds as if it's a collection instead of
just one data object. Just wondering if anyone has a nice workaround. I
started working on something, but it quickly turned into a large amount of
code, and I still don't have all of the bases covered.
Thanks,
Steve
it's singular form and vice versa. Most of our database tables are named in
a plural fashion. When we go to create templates to select a single record,
we end up with a class name that sounds as if it's a collection instead of
just one data object. Just wondering if anyone has a nice workaround. I
started working on something, but it quickly turned into a large amount of
code, and I still don't have all of the bases covered.
Thanks,
Steve