This is a migrated thread and some comments may be shown as answers.

Guid identity using Guid Comb?

5 Answers 120 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Chris Williams
Top achievements
Rank 1
Chris Williams asked on 19 Nov 2009, 08:48 AM
Hi, I didn't see it mentioned anywhere, but if you're using a uniqueidentifier as a table primary key, and it's not auto-generated by the server, does OpenAccess use Guid Comb to give you the sequential guids to help with the column indexes?

Thanks,

5 Answers, 1 is accepted

Sort by
0
Thomas
Telerik team
answered on 19 Nov 2009, 04:36 PM
Hello Chris,

no, at the moment we are using Guid.NewGuid(). But if you set the pk value before adding the instance upfront, we will happily use that value; a new id is only generated when needed.

Kind regards,
Thomas
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Michał
Top achievements
Rank 2
answered on 21 Mar 2010, 12:58 AM
Hi,

Is Guid.Comb is planned in future releases ?
0
Jordan
Telerik team
answered on 23 Mar 2010, 01:58 PM
Hello MichaƂ,

This feature is already on our TODO list. We will be implementing it most probably before the end of this year but after Q2 2010.

Greetings,
Jordan
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Eric
Top achievements
Rank 1
answered on 21 Feb 2012, 05:20 AM
Hello, this is a pretty old post but don't see that anything has changed in this regard.  Does OpenAccess use a comb algorithm out of the box?  If not, what is the recommended approach?

Thanks,
Eric
0
Thomas
Telerik team
answered on 21 Feb 2012, 02:57 PM
Hello Eric,

we tried to improve the situation for Guids, but the code was not ready for the Q1 2012 release. We will provide a different Guid generation in an upcoming release.

Kind regards,
Thomas
the Telerik team
Telerik OpenAccess ORM Q1 2012 release is here! Check out what's new or download a free trial >>
Tags
General Discussions
Asked by
Chris Williams
Top achievements
Rank 1
Answers by
Thomas
Telerik team
Michał
Top achievements
Rank 2
Jordan
Telerik team
Eric
Top achievements
Rank 1
Share this question
or