silverlight - How can i prevent RIA service change tracking for certain fields? -
how can prevent ria service change tracking on properties. have partial class , want ria service should not track changes it. how can that?
currently if see in generated code, can methods onxxxchanging() nad onxxxchanged() etc etc. want these should not generated custom properties.
thanks in advance :)
to stop ria services tracking (or generating) property, add [exclude] attribute property (either in .shared.cs or in metadata class.
if add [datamember] attribute, wcf still serialize/deserialize it, ria services won't care it.
Comments
Post a Comment