Quantcast
Channel: EntityFramework Reverse POCO Code First Generator
Viewing all articles
Browse latest Browse all 1642

Edited Unassigned: A field named 'default' [103]

$
0
0
Basically a column in my database is called 'default' which is no problem in sql but the generator converts this directly without modification and the compiler finds this disagreeable.

I looked for a way to rename fields and that would work as a solution here but I assume this would be quite some intense processing during generation
The simplest thing is probably just to rename reserved words like 'default' into @default so that they can be used.

But either solution will do and I leave that to you.
I did not try any other reserved words.

Viewing all articles
Browse latest Browse all 1642

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>