fxcop and Serialize Date

fxcop and Serialize Date

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


mikeclimbs posted on Wednesday, October 25, 2006

I'm runing my BO's thru fxcop and receving the following error:

Field _editDate is a member of type FUNDEZ.BizObj.StatesBase`1, which is serializable, but is of type Csla.SmartDate, which is not serializable. Add the NonSerializedAttribute to _editDate.

Should I correct my code or ignore the rule?

Thanks

Mike Benowitz

Copyright (c) Marimer LLC