Closed GoogleCodeExporter closed 9 years ago
.NET SqlMetal doesn't appear to be parsing the DbType: if I change the
//Return/@DbType attribute to contain "NOT NULL", the type doesn't change;
ditto for
changing //Parameter//DbType.
The only thing that does have an effect is changing the //Return/@Type value to
something "non-sensical", e.g. <Return Type="System.Int32!" /> (note the ! in
the
type name). This is passed through into the resulting file, unchanged.
Apparently .NET SqlMetal logic is to attempt to Type.GetType() the type, and if
it's
a value type to ALWAYS use nullable types.
Original comment by jonmpr...@gmail.com
on 5 Apr 2010 at 7:58
This issue was closed by revision r1390.
Original comment by jonmpr...@gmail.com
on 9 Apr 2010 at 3:33
Closing.
Original comment by jonmpr...@gmail.com
on 9 Apr 2010 at 7:56
Original issue reported on code.google.com by
jonmpr...@gmail.com
on 5 Apr 2010 at 7:52