Hi,
Visual Studio 2012 and entity framework 4.
I followed the tutorial and examples and after much pain and many tears I got the project to compile. I had to remove some new .dlls and add older ones to get the project to work. I also had to wrestle with VS to get access to the entity classes.
Anyway when I run C1 out of Visual Studio I get:
The type 'CompDataProvider.myToDoList' was not mapped. Check that the type has not been explicitly excluded by using the Ignore method or NotMappedAttribute data annotation. Verify that the type was defined as a class, is not primitive, nested or generic, and does not inherit from EntityObject.
When I remove the (apparently) guilty inheritance from the data provider and run C1 I get:
Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.FormatException: Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).
Source Error:
Line 8: ApplicationLevelEventHandlers.LogApplicationLevelErrors = false;
Line 9:
Line 10: ApplicationLevelEventHandlers.Application_Start(sender, e);
Line 11: }
I'm stumped.
Visual Studio 2012 and entity framework 4.
I followed the tutorial and examples and after much pain and many tears I got the project to compile. I had to remove some new .dlls and add older ones to get the project to work. I also had to wrestle with VS to get access to the entity classes.
Anyway when I run C1 out of Visual Studio I get:
The type 'CompDataProvider.myToDoList' was not mapped. Check that the type has not been explicitly excluded by using the Ignore method or NotMappedAttribute data annotation. Verify that the type was defined as a class, is not primitive, nested or generic, and does not inherit from EntityObject.
When I remove the (apparently) guilty inheritance from the data provider and run C1 I get:
Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.FormatException: Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).
Source Error:
Line 8: ApplicationLevelEventHandlers.LogApplicationLevelErrors = false;
Line 9:
Line 10: ApplicationLevelEventHandlers.Application_Start(sender, e);
Line 11: }
I'm stumped.