CodePlexProject Hosting for Open Source Software
An unexpected error has occured.
There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
Voted
Unable to generate the model because of the following exception: 'The table 'AdventureWorks2008.Production.Document' is referenced by a relationship, but cannot be found. I'm making the assumption that this is not a problem with Entity Framework, but I really do not know how to verify. I have seen this reported elsewhere on the internet as well, such as here: http://www.sanderstechnology.com/2011/wcf-data-services-walkthrough-part-1-setup/10573/
No files are attached
DerrickVMSFT wrote Oct 17, 2012 at 3:51 PM
DerrickVMSFT wrote Oct 23, 2012 at 3:13 AM
SapphireGirl wrote Nov 30, 2012 at 12:03 PM
SapphireGirl wrote Nov 30, 2012 at 2:45 PM
rogertranchez wrote Dec 5, 2012 at 1:03 PM
DerrickVMSFT wrote Dec 6, 2012 at 2:27 PM
moozzyk wrote Dec 27, 2012 at 5:29 AM
<EntityContainer Name="AdventureWorksModelStoreContainer" /> <!--Errors Found During Generation: warning 6005: The data type 'hierarchyid' is currently not supported for the target .NET Framework version; the column 'DocumentNode' in table 'AdventureWorks.Production.Document' was excluded. warning 6031: The column 'DocumentNode' on the table/view 'AdventureWorks.Production.Document' was excluded, and is a key column. The table/view has been excluded. Please fix the entity in the schema file, and uncomment. <EntityType Name="Document"> <Property Name="DocumentLevel" Type="smallint" StoreGeneratedPattern="Computed" /> <Property Name="Title" Type="nvarchar" Nullable="false" MaxLength="50" /> <Property Name="Owner" Type="int" Nullable="false" /> <Property Name="FolderFlag" Type="bit" Nullable="false" /> <Property Name="FileName" Type="nvarchar" Nullable="false" MaxLength="400" /> <Property Name="FileExtension" Type="nvarchar" Nullable="false" MaxLength="8" /> <Property Name="Revision" Type="nchar" Nullable="false" MaxLength="5" /> <Property Name="ChangeNumber" Type="int" Nullable="false" /> <Property Name="Status" Type="tinyint" Nullable="false" /> <Property Name="DocumentSummary" Type="nvarchar(max)" /> <Property Name="Document" Type="varbinary(max)" /> <Property Name="rowguid" Type="uniqueidentifier" Nullable="false" /> <Property Name="ModifiedDate" Type="datetime" Nullable="false" /> </EntityType>--> </Schema>
Sign in to add a comment or to set email notifications
Keyboard shortcuts are available for this page.