我正在尝试使用下表的脚手架模板创建ASP.Net MVC CRUD
CREATE TABLE [dbo].[tblCont]
(
[ContId] [int] NOT NULL,
[ContName] [varchar](50) NULL,
[ContType] [varchar](50) NULL,
CONSTRAINT [PK_tblCont]
PRIMARY KEY CLUSTERED ([ContId] ASC)
)
GO
CREATE TABLE [dbo].[tblMaster]
(
[CovId] [int] NOT NULL,
[CovName] [varchar](50) NOT NULL,
[VendId] [int] NOT NULL,
[ContId] [int] NOT NULL,
[PcId] [int] NOT NULL,
[PrdId] [int] NOT NULL,
CONSTRAINT [PK_tblMaster]
PRIMARY KEY CLUSTERED ([CovId] ASC)
)
GO
CREATE TABLE [dbo].[tblPc]
(
[PcId] [int] NOT NULL,
[PcCode] [int] NULL,
[Area] [nchar](10) NULL,
[District] [nchar](10) NULL,
CONSTRAINT [PK_tblPc]
PRIMARY KEY CLUSTERED ([PcId] ASC)
)
GO
CREATE TABLE [dbo].[tblPrd]
(
[PrdId] [int] NOT NULL,
[LobCode] [int] NULL,
[PrdDesc] [nchar](10) NULL,
[PrdLang] [nchar](10) NULL,
CONSTRAINT [PK_tblPrd]
PRIMARY KEY CLUSTERED ([PrdId] ASC)
)
GO
CREATE TABLE [dbo].[tblVend]
(
[VendId] [int] NOT NULL,
[VendName] [nchar](10) NULL,
CONSTRAINT [PK_tblVend]
PRIMARY KEY CLUSTERED ([VendId] ASC)
)
GO
使用ADO.Net实体模型我已经在模型浏览器中添加了所有表,但是在构建时出现了图像中的错误
我做错了什么吗,或者使用ASP.NET MVC脚手架是不可能的?请指教