Closed GoogleCodeExporter closed 9 years ago
if(demographics.HasValue) criteria.Demographics = demographics.Value;
causes Error
Error 1 'System.Xml.XmlDocument' does not contain a definition for 'HasValue'
and no extension method 'HasValue' accepting a first argument of type
'System.Xml.XmlDocument' could be found (are you missing a using directive or
an assembly reference?) C:\Users\wylie\Documents\CodeSmith
Generator\Templates\CSLA\AdventureWorks\AdventureWorks.Business\Entities\Store.G
enerated.cs 388 29 AdventureWorks.Business
Original comment by owenbre...@msn.com
on 23 Apr 2012 at 9:30
Hello,
We currently do not support the Xml datatypes. There is a patch located here
which makes some changes for xml support but it really needs to be separated
out (http://code.google.com/p/codesmith/issues/detail?id=517).
Would you mind modifying the templates to support this? There are some comments
located here (http://code.google.com/p/codesmith/issues/detail?id=180) which we
have been discussing this. I'd be more than happy to verify your changes and
answer any questions.
Original comment by bniemyjski
on 24 Apr 2012 at 1:38
requires Devexpress for the grid. Only worked on the ProductModel table.(it has
two XMLDocuments)HasValue extension is only pseudocode.
Wylie A Smith (Al)
In seeking wisdom the first step is silence, the second: listening, the third:
remembering, the fourth: practicing, the fifth: teaching others.
- Solomon Ibn Gabirol
Original comment by owenbre...@msn.com
on 30 Apr 2012 at 4:23
I'm confused by your last response in regards to this case and it's comments.
Could you please clarify.
Original comment by bniemyjski
on 3 May 2012 at 2:03
Original issue reported on code.google.com by
owenbre...@msn.com
on 23 Apr 2012 at 4:56