New Posts New Posts RSS Feed: serverside persistanceManager and DevForce "enum"
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

serverside persistanceManager and DevForce "enum"

 Post Reply Post Reply
Author
Dominique View Drop Down
Groupie
Groupie
Avatar

Joined: 28-Jun-2007
Location: Norway
Posts: 44
Post Options Post Options   Quote Dominique Quote  Post ReplyReply Direct Link To This Post Topic: serverside persistanceManager and DevForce "enum"
    Posted: 17-Sep-2007 at 6:49am
Hi,
I have some logic on the server. I get a persistance manager from calling a ServerRpcPersistenceDelegate.
I can load and save entities but it looks like the enum classes behaves another way than on the client.
to test equality I call code like

Return user.ADRESSETYPE Is ADRESSETYPE.postAdresse

This will return false even when a "watch" will show that the codes that identify the "enum" are the same.
I tried to override equal method but it didn't had any effect
Do you have any comments?

Dominique
Dominique
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down