Domanda

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?

È stato utile?

Soluzione

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

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top