سؤال

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