Вопрос

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?

Это было полезно?

Решение

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

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top