Welcome to the new Gigaspaces XAP forum. To recover your account, please follow these instructions.

Ask Your Question
0

Generate UID

Hi

I would like to have UID based on 2 fields on the class. Whats the recommended way to generate the UID other then creating a new field.
I would like to know how todo in .Net.

Thanks
-Venkat

This thread was imported from the previous forum.
For your reference, the original is available here

asked 2009-06-19 08:27:02 -0500

venkatg gravatar image

updated 2013-08-08 09:52:00 -0500

jaissefsfex gravatar image
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

Hi Venkat,

I can't really say there's a recommended way to do what you're asking other than creating a new field. However, if you do it for performance reasons, you can always index these two fields.

Eitan.

answered 2009-06-21 09:03:29 -0500

eitany gravatar image
edit flag offensive delete link more

Comments

Thanks for the reply Eitan I was looking for unique key for the object. PrimaryKey based on 2 fields

Thanks Venkat

venkatg gravatar imagevenkatg ( 2009-06-22 08:06:22 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2009-06-19 08:27:02 -0500

Seen: 30 times

Last updated: Jun 21 '09