yasser777 / nettiers

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

Patch for /trunk/Source/TemplateLib/CommonSqlCode.cs #409

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Non-Nullable xml type columns were being generated as a null string despite 
having a default value set on the column.

This caused issues when trying to insert a newly created entity that did not 
have the column explicitly set. The insert command sets the parameter as NULL 
for the insert, which then throws a "Cannot insert the value NULL" error. 

Original issue reported on code.google.com by brett.po...@isams.co.uk on 6 Dec 2011 at 3:24

Attachments: