This question is locked. New answers and comments are not allowed.
I am receiving this error:
No metadata has been registered for class ShortcutAnalyzer.Data.FileType. (This usually indicates, that either this class is not declared persistent or it is declared persistent but not enhanced. The class was loaded from file:///C:/Users/jaime/Documents/Visual Studio 2008/Projects/ADDINS/SHORTCUT ANALYZER/ShortcutAnalyzer.SimpleTester/bin/Debug/ShortcutAnalyzer.Data.DLL.)
First, I started out with a database and used the reverse mapping wizard to generate the classes in a project called ShorcutAnalyzer.Data. Next I referenced that project from a console application. The only code that accesses the generated data classes is in a project called ShortcutAnalyzer.Repository.
In short ShortcutAnalyzer.Repository used the ShortcutAnalyzer.Data project to access the database. The ShortcutAnalyzer.Data project also has an ObjectScopeProvider class in it for accessing the database.
The generated classes don't have the persistent attribute attached to them I guess because they are to be regenerated from the database(ie. Reverse Mapping). At any rate I am stuck with the above error. Any help would be greatly appreciated. I have already used up way more time than it would take to implement this using Entities Framework. I like most of Telerik's software so I thought I would give this a try but I am getting discouraged.
Jaime
No metadata has been registered for class ShortcutAnalyzer.Data.FileType. (This usually indicates, that either this class is not declared persistent or it is declared persistent but not enhanced. The class was loaded from file:///C:/Users/jaime/Documents/Visual Studio 2008/Projects/ADDINS/SHORTCUT ANALYZER/ShortcutAnalyzer.SimpleTester/bin/Debug/ShortcutAnalyzer.Data.DLL.)
First, I started out with a database and used the reverse mapping wizard to generate the classes in a project called ShorcutAnalyzer.Data. Next I referenced that project from a console application. The only code that accesses the generated data classes is in a project called ShortcutAnalyzer.Repository.
In short ShortcutAnalyzer.Repository used the ShortcutAnalyzer.Data project to access the database. The ShortcutAnalyzer.Data project also has an ObjectScopeProvider class in it for accessing the database.
The generated classes don't have the persistent attribute attached to them I guess because they are to be regenerated from the database(ie. Reverse Mapping). At any rate I am stuck with the above error. Any help would be greatly appreciated. I have already used up way more time than it would take to implement this using Entities Framework. I like most of Telerik's software so I thought I would give this a try but I am getting discouraged.
Jaime