CSLALight - Can criteria inherit from MobileObject??

CSLALight - Can criteria inherit from MobileObject??

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


swegele posted on Sunday, July 05, 2009

I see posts saying I can do these three options for criteria objects used for silverlight:

1. Inherit from CriteriaBase

2. Inherit from BusinessBase

3. Implement IMobileObject

But I was wondering if I could just inherit from MobileObject.

Thanks

Sean

RockfordLhotka replied on Sunday, July 05, 2009

Yes, I think you can inherit from MobileObject, as long as you implement ICriteria.

CriteriaBase implements ICriteria and provides managed backing field support. If you want to override the get/set state methods and use private backing fields, I would think you could inherit from MobileObject.

Copyright (c) Marimer LLC