Re: Using the business objects to invoke a mock DAL ... couple questions ...

Re: Using the business objects to invoke a mock DAL ... couple questions ...

Old forum URL: forums.lhotka.net/forums/t/10029.aspx


mattruma posted on Friday, February 04, 2011

I am encountering an error in tests when my Save method is called ...

Type 'CslaContrib.MEF.MefBusinessBase`1[[Epitec.Epilink.Business.Customer, Epitec.Epilink.Business, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' in Assembly 'CslaContrib.MEF, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' is not marked as serializable.

Is it as simple as marking the MefBusinessBase as Serializable? Or is this masking some other problem?

Copyright (c) Marimer LLC