This question is locked. New answers and comments are not allowed.
BEWARE: The ORM QUICKSTART STEP-BY-STEP INSTRUCTIONS ARE OUT OF DATE: (AS OF JUNE 10, 2010)
After spending days trying to solve the problems related to following the instructions in the QuickStart sample application, I discovered the step-by-step instructions are wrong and no longer apply to the most recent release of the Telerik ORM. I found this out by seeing that the downloaded sample code is very different from the code constructed via following the step-by-step instructions and looking at the 5/27/2010 ORM release blog under the blogs section of Telerik's web site. No notice of this change has been posted to the ORM Getting Started forum, which is a huge oversight.
Telerik: I appreciate your efforts to upgrade ORM to the visual designer, it is a step in a good direction. However, to leave your novice users access to outdated instructions is true folly and very frustrating. I highly recommend you upgrade the step-by-step instructions for the QuickStart sample app.
- Alex Pierce
I am compiling the QuickStart app. After creating the rental car DB, completing all of the OpenAccess persistent class reverse mapping, and adding all of the code for the web project I get the following error when running the app.
"No metadata has been registered for class OpenAccessData.Customer. (This usually indicates, that either this class is not declared persistent or it is declared persistent but not enhanced."
The customer class, as well as all of the other reverse mapped classes are declred as persistent:
Auto generated code for persistent class below:
After spending days trying to solve the problems related to following the instructions in the QuickStart sample application, I discovered the step-by-step instructions are wrong and no longer apply to the most recent release of the Telerik ORM. I found this out by seeing that the downloaded sample code is very different from the code constructed via following the step-by-step instructions and looking at the 5/27/2010 ORM release blog under the blogs section of Telerik's web site. No notice of this change has been posted to the ORM Getting Started forum, which is a huge oversight.
Telerik: I appreciate your efforts to upgrade ORM to the visual designer, it is a step in a good direction. However, to leave your novice users access to outdated instructions is true folly and very frustrating. I highly recommend you upgrade the step-by-step instructions for the QuickStart sample app.
- Alex Pierce
I am compiling the QuickStart app. After creating the rental car DB, completing all of the OpenAccess persistent class reverse mapping, and adding all of the code for the web project I get the following error when running the app.
"No metadata has been registered for class OpenAccessData.Customer. (This usually indicates, that either this class is not declared persistent or it is declared persistent but not enhanced."
The customer class, as well as all of the other reverse mapped classes are declred as persistent:
Auto generated code for persistent class below:
using
System;
using
System.Collections.Generic;
namespace
OpenAccessData
{
// Generated by Telerik OpenAccess
// Used template: c:\program files\telerik\openaccess orm\sdk\IDEIntegrations\templates\PCClassGeneration\cs\templates\classgen\class\partialdesignerdefault.vm
[Telerik.OpenAccess.
Persistent(IdentityField = "customerID")]
public partial class Customer
{
private int customerID; // pk
private string address;
private string city;
private string country;
private string drvLicNumber;
private string fullName;
private string state;
private string zIPCode;
}
}
How do I sove this problem?