4
Shouts

[RIA Services] Why the client extended entities won't use the default backing store value ?

published 551 days, 12 hours, 30 minutes ago posted by jmix90jmix90 551 days, 23 hours, 39 minutes ago
Saturday, November 20, 2010 2:28:02 AM GMT Friday, November 19, 2010 3:18:58 PM GMT

The title may not be clear but I am talking about the entities that you extends on the client side using the fact that they are partial class. You may think as I was that if you add properties in them with backing store field, the properties will get initialed nicely : this is not the case and the property will always use the default value for the property type.

In this post we’ll discover how to perform our goal : create a property with the correct default value.

category: Silverlight | clicked: 0 | | source: blog.lexique-du-net.com | show counter code
tags: Silverlight, Serialization, RIA Services, How-To, RIA Service, Properties, How

No comments yet, be the first one to post comment.

To post your comment please login or signup