I am working on a application following MVVM, there are lot of properties directly binded to the Business Base model layer( like - Binding ="ViewModelProperty.ModelProperty.Text" )
when i try to save the business object the following error is thrown:
Type 'System.ComponentModel.PropertyChangedEventManager' in Assembly 'WindowsBase, Version=188.8.131.52, Culture=neutral, PublicKeyToken=31bf3856ad364e35' is not marked as serializable.
I understand that there might be few (INotify)event subscriptions with the object which wont allow it to serialize.
I cant use [field:NonSerialized] as we dont have access the code for csla.
Has anyone faced this type of scenario ever? if so how did you get rid of it ?
and when i use ISerializable
Type 'Csla.Core.BusinessBase+BypassPropertyChecksObject' in Assembly 'Csla, Version=184.108.40.206, Culture=neutral, PublicKeyToken=93be5fdc093e4c30' is not marked as serializable.
this is thrown
Use of ISerializable is not supported with CSLA .NET.
Copyright (c) Marimer LLC