Session Variables and Business rulesSession Variables and Business rules
Old forum URL: forums.lhotka.net/forums/t/3408.aspx
Ashraf Ali posted on Tuesday, August 21, 2007
I am working on a CSLA 1.1 application , It was using in-process session variables I changed it to out of process (SQL Server) session and businessrules is no longer working in the sense that business rules are satisfied but its still showing me those business rules as broken.xAvailx replied on Wednesday, August 22, 2007
I found the same issue, what I did to solve was added the IDeserializationCallback interface to business base and then re-added the business rules. That solved my issue when storing objects in out of process state.
HTH, BZ
Ashraf Ali replied on Tuesday, September 04, 2007
Thanks for the reply, but can you please elaborate on this a litte more :)
you implemented the IDeserializationCallback like
<Serializable()> _
Public
MustInherit Class BusinessBase
Inherits Core.UndoableBase
Implements IDeserializationCallBack
where do you re-add the business rules?
Thanks
Ash
Soumya replied on Saturday, April 05, 2008
Hi Ashraf Ali,
I too have similar problem with version 2.1.4.0. How did you resolve this problem? Did you implement IDeserialzationCallBack. Can you set me sample?
Regards,
Soumya
Copyright (c) Marimer LLC