Print Page | Close Window

serverside persistanceManager and DevForce "enum"

Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce Classic
Forum Discription: For .NET 2.0
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=431
Printed Date: 07-Apr-2025 at 5:18pm


Topic: serverside persistanceManager and DevForce "enum"
Posted By: Dominique
Subject: serverside persistanceManager and DevForce "enum"
Date 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



Print Page | Close Window