Jeff-Lewis / codesmith

Automatically exported from code.google.com/p/codesmith
0 stars 0 forks source link

Int64 Enum Support #90

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Probably not the right way to submit a patch/idea, but here it is.

I have to support BIGINT enum types which requires Int64 support. 

I was able to achieve this with a minor change to the following files in 
the Generator project:

DbmlEnum.xsd - change Item.Value to "ns:long"
DbmlEnum.cs - change Item.Value to long
DbmlGenerator - changle local var in method that iterates through items to 
an Int64.

This does not affect the use of the code for Int32 values, as the sub type 
still gets produced properly in the current code.

Feel free to contact me if you have any questions?

Original issue reported on code.google.com by tyler.je...@gmail.com on 11 Apr 2009 at 9:44

GoogleCodeExporter commented 9 years ago

Original comment by tdupont...@gmail.com on 13 Apr 2009 at 2:21

GoogleCodeExporter commented 9 years ago
Patch added in latest build

Original comment by regbra...@gmail.com on 14 Apr 2009 at 6:28

GoogleCodeExporter commented 9 years ago

Original comment by shannon....@gmail.com on 7 Oct 2009 at 4:07

GoogleCodeExporter commented 9 years ago

Original comment by shannon....@gmail.com on 30 Dec 2009 at 5:43

GoogleCodeExporter commented 9 years ago

Original comment by shannon....@gmail.com on 30 Dec 2009 at 6:03