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

How to find IdentityField of a Persistent Class?

1 Answer 76 Views
Databases and Data Types
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Jenna Berg
Top achievements
Rank 1
Jenna Berg asked on 25 Feb 2009, 06:58 AM
Hi,
I have created a Persistent class using Reverse mapping. The class has an Identityfield as defined below:

    [Telerik.OpenAccess.Persistent(IdentityField="prID")]
    public partial class ApProfile
    {
        private int prID; // pk

I have implemented another partial class which is inherited from a parent class. Now, when I am in the parent class I can get value of IdentityField using "this.prID".

What would be the function/method to find IdentityField and its value in a Parent class or using an instance of class?

Any help would be appreciated.

1 Answer, 1 is accepted

Sort by
0
PetarP
Telerik team
answered on 26 Feb 2009, 06:29 PM
Hello Jenna Berg,
I suggest that we continue our conversation in the support ticket you filled.

All the best,
PetarP
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Databases and Data Types
Asked by
Jenna Berg
Top achievements
Rank 1
Answers by
PetarP
Telerik team
Share this question
or