[RIA Services] Why the client extended entities won't use the default

added by jmix90
11/19/2010 9:17:31 AM

0 Kicks, 62 Views

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.