我想選擇使用LINQ到實體視圖中的行後,沒有得到這個錯誤,所以我右點擊EDMX設計師和「生成數據庫模型」,然後選擇視圖從嚮導。該視圖出現。我可以選擇行。如何加入以EF模型
然而,從「生成模型數據庫」這一點現在導致這個(良性我的看法,但惱人的)錯誤:
Msg 2714, Level 16, State 6, Line 3
There is already an object named 'vAdvertiserEmployees' in the database.
Msg 4909, Level 16, State 1, Line 3
Cannot alter 'dbo.vAdvertiserEmployees' because it is not a table.
什麼我錯在這裏做什麼?
這並不是說,你正在做的事情錯了這一點,如果我不與多元化誤的交易改變實體名稱vAdvertiserEmployee和它的關係或子對象名稱來vAdvertiserEmployees這是否有道理..? – MethodMan