Closed GoogleCodeExporter closed 9 years ago
Original comment by bniemyjski
on 10 Jun 2010 at 2:53
Ok, so this isn't pretty, but I modified Criteria.Generated.cst to work with
Solution 1 I proposed above. I have attached the updated template. Please
take a look and let me know what you think.
Original comment by RoyMunso...@gmail.com
on 12 Jun 2010 at 12:21
Attachments:
Hello,
Can you please attach a Silverlight sample application that I can test this
with.
Thanks
-Blake Niemyjski
Original comment by bniemyjski
on 15 Jun 2010 at 12:02
Ok, here you go. Hopefully this solution works for you, as I can't give you my
real one. You will probably have to fix all of the references. I use CSLA
beta 2. Also, I am using modified CSLA templates to handle a few of the
outstanding issues. To get it running, you will need to do the same as with
Rocky's Silverlight demos from the video: Set the web project as the startup
project (NOT the Silverlight one) and set the SampleTestPage.aspx as the start
page.
I have included a SqlExpress DB in the web that I used. I hope this works.
Seemed to work fine for me in both the app and Codesmith.
If everything works, the app should start and you will see 2 records in a grid.
You can put an AddressId in the text box at the top and click the "Get
Address" Button. You should see that it doesn't work....you always get all of
the records (there's only 2). Then go into AddressCriteria.Generated.cs and
uncomment my Serialization section. You should see that it now works
correctly...it filters based on AddressId.
Let me know if things aren't working and I'll help you out as best as I can.
Also, please hang on to this solution, as I would like to use it to submit
further issues.
Thanks,
Original comment by RoyMunso...@gmail.com
on 15 Jun 2010 at 3:31
Attachments:
This issue was updated by revision r1756.
Fixed Issue 398: CSLA - Generated Criteria objects don't work in Silverlight
Original comment by bniemyjski
on 28 Jun 2010 at 11:52
Hello,
Thanks for your samples. I'll hang on to it!!
Thanks
-Blake Niemyjski
Original comment by bniemyjski
on 28 Jun 2010 at 11:53
Original issue reported on code.google.com by
RoyMunso...@gmail.com
on 9 Jun 2010 at 11:11