0

Possible Duplicate:
What characters are allowed in C# class name?

I'm using edmgen to dynamically create classes from my database. But it seems like some of the characters in table names are considered illegal and are converted to _ (e.g. table named: test!@#$%^&*()[] will be converted to test____________.

What are the illegal characters that are being converted to _ when generating object layer code?

Community
  • 1
  • 1
Kamyar
  • 18,639
  • 9
  • 97
  • 171

1 Answers1

1

All alphanumeric unicode characters and underscore are valid, but it cannot begin with a number, so anything not belonging in there is invalid.

Community
  • 1
  • 1
Tomislav Markovski
  • 12,331
  • 7
  • 50
  • 72