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

Need auto-generated primary key without trigger

1 Answer 41 Views
Feature Requests
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Clint
Top achievements
Rank 1
Clint asked on 27 Jul 2015, 08:35 PM

As a Telerik Data Access user

I should be able to specify annotations that define a primary key that is automatically generated, inserted into the C# class to be stored and then store the data contained in that class in a single, atomic operation (similar to the Hibernate annotations for a pKey member of a class below)

so that I do not have to define a trigger and I can call a single method to perform this insert

@Id

@GenericGenerator(name="pKeyGenerator" , strategy="increment")

@GeneratedValue(generator="theSequence")

@Column(name="pKeyColumn")

1 Answer, 1 is accepted

Sort by
0
Doroteya
Telerik team
answered on 29 Jul 2015, 06:57 AM
Hello Clint,

Thank you for contacting us.

Based on your description I created a feature request item on our Ideas and Feedback portal. Here is the URL to the item. Additionally, I would kindly ask you to provide a few more details regarding the backend you are using and the scenarios in which you consume it.


Regards,
Doroteya
Telerik
 
Check out the latest announcement about Telerik Data Access vNext as a powerful framework able to solve core development problems.
Tags
Feature Requests
Asked by
Clint
Top achievements
Rank 1
Answers by
Doroteya
Telerik team
Share this question
or