Probably need to make those a part of ObjAttribute/ObjRelationship. On the server this will be resolved by reading the underlying DbAttribute. On the client this can simply be an Obj* ivar.

Andrus


On Sep 29, 2006, at 6:27 PM, Tore Halset wrote:

Hello.

I want to do client side validation before commit. My plan was to use DbEntity/DbAttribute to find "maxSize" and "mandatory", but DbEntity/DbAttribute are not sent to the client. I understand why those objects are not sent to the client, but "maxSize" and "mandatory" should perhaps be availiable to the client?

Any idea how to solve this? Do I need a roundtrip to the server?

The reason for doing this is that I want to try key-value- validation in CocoaCayenne.

 - Tore.


Reply via email to