6 Answers, 1 is accepted
Can you give us more insight about your project? What is the reason that you set that setting in your app.config? Are you using forward or reverse mapping? If you have classes that are mapped to tables that have no primary keys, then the HighLow key generator is used, and the voa_keygen table is being requested by the runtime. The important rule you must consider with OpenAccess is that all your tables must have primary keys set, so if you have tables where it is not, it is not recommended to just work around the HighLow key generator? Are your tables having a Primary Key? If you are using forward mapping, have you set the primary key field, or is OpenAccess doing that for you by using the HighLow key generator and an internal field? We are looking forward to for further collaboration on this so we can understand your problem better and find a decent solution for you.
All the best,Zoran
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.
We are glad you have solved your problem. The reason for the behavior has been that Persistent attribute on the ObjectScopeProvider class. OpenAccess treats the class as it uses a HighLowKeyGenerator and tries to get the identity for this class from the voa_keygen table. If any other issues arise in the future, please do not hesitate to contact us back.
Best wishes,Zoran
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.