Try our conversational search powered by Generative AI!

Integer Identity field with Dynamic Data Store

Vote:
 

Does DDS provide the ability for a dataobject to have a property of type int which is an auto incrementing identity type in SQL server or equivilant?

The EPiServer.Data.Identity object is great for my internal dev use, however the data that I am storing is used on an excel report and the users need to see the unique row identifer - I could show them the GUID but its not really practical.

Is there anything built into DDS todo this or do I need to create my own identity management logic for this?

Many Thanks,

Adam

 

 

#54557
Oct 20, 2011 14:05
Vote:
 

By using Identity, you have an id that you can use. Look at Identity.StoreId

#54560
Oct 20, 2011 14:58
Vote:
 

Perfect! I didnt realise that StoreID was an identifier of the object within the store - I though it was the ID of the store the object belonged to! 

 

Many Thanks

#54566
Oct 20, 2011 16:03
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.