1. 程式人生 > >This EntitySet of Type 'Data.Tbl_Student' does not support the 'Add' operation.原因

This EntitySet of Type 'Data.Tbl_Student' does not support the 'Add' operation.原因

最近在做entity framework +wcf ria專案,遇到一個問題 ,在新增實體時報異常“This EntitySet of Type 'Data.Tbl_Student' does not support the 'Add' operation.”

意思是:實體Tbl_Student沒有Add方法。

找遍網路沒有找到原因。

後來想想,可能是因為更新了edmx實體,但沒有更新域服務,才導致這個錯誤,重新從資料庫更新模型,再重新生成或新建域服務類。OK,問題好了。

相關推薦

This EntitySet of Type 'Data.Tbl_Student' does not support the 'Add' operation.原因

最近在做entity framework +wcf ria專案,遇到一個問題 ,在新增實體時報異常“This EntitySet of Type 'Data.Tbl_Student' does not support the 'Add' operation.” 意思是:實體

安裝JLINK驅動出現the firmware of the connected J-Link does not support the following memory access

         今天在安裝J-LINK驅動的時候出現了點小問題。 問題: 電腦能夠識別到J-LINK這個驅動了,但是keil無法進行Debug。點了Debug後,出現了下圖的錯誤 後面也提示說dll in

invalid operation: token.Claims["ID"] (type jwt.Claims does not support indexing) #143

This is working fine in my localhost, but when i'm trying it in aws ec2..i cant build and i'm getting the ff. error and here is my code

Your development team, "", does not support the Push Notifications capability.

找到 abi 解決 運行 文件中 cati devel xxx 解決方法 問題: Your development team, "", does not support the Push Notifications capability. 解決方法: 1.找到工程文件中

quartus II編譯報錯:Error: Current license file does not support the XXX device

環境:    win7 (64位); quartus II 版本:quartus II 11.0    (64位,32位); 使用quartus II測試"Hello World!"的程式,Qsys製作相應的軟核。 剛開始測試的時候使用quartu

Android Studio 3.0的does not support the forTasks() method on BuildActionExecuter 錯誤

Android Studio 3.0出來後迫不及待的試用了一下,國內的網路不太通暢,所以第一次打的時候可以會耗費一點時間,安裝你幾個更新什麼的,更新之後想要再測試一下自己的程式,出現了以下錯誤:Error:Failed to complete Gradle execution

Type Java compiler level does not match the version of the installed Java project facet.項目內容沒錯但是項目上報錯,不影響運行

images ems rop http ges 內容 工程 版本 ren 1、Window->Show View->Problems 2、在項目上右鍵properties->project Facets->修改右側的version 保持一致 3

TypeError: Input 'b' of 'MatMul' Op has type int64 that does not match type float32 of argument 'a'.

模型 ray 類型 oat 回歸 In 線性回歸 hat hold 在做多元線性回歸的時候多余模型:y = tf.matmul(x_data,w) +b 中: 我的x_data 使用tf.placeholder(tf.float32,[1,2]) 申明的; 而我的輸入的是整

Input ‘split_dim’ of ‘Split’ Op has type float32 that does not match expected type of int32 報錯

#原來是這樣的: This is because in Tensorflow versions < 0.12.0 the split function takes the arguments as: x = tf.split(0, n_steps, x) # tf.split(axis, nu

TypeError: Input 'b' of 'MatMul' Op has type float32 that does not match type int32 of argument 'a'.

訓練詞向量時出現錯誤: TypeError: Input 'b' of 'MatMul' Op has type float32 that does not match type int32 of argument 'a'. 錯誤出現在: loss = tf.reduce_mean(tf

TypeError: Input 'y' of 'Add' Op has type float32 that does not match type int32 of argument 'x'.

學習Python,碰到資料型別不一致進行運算出現的問題,問題現象、原因、解決辦法如下。 1、問題程式碼 # 引入 tensorflow 模組 import tensorflow as tf # 建立兩個常量節點 node1 = tf.constant([2,5], dtype=tf.i

Description Resource Path Location Type Java compiler level does not match the version of the in解決方法

今天使用maven的時候報這個錯誤 然後在網上查了,是jdk的版本不匹配, 可以修改如下幾個地方 解決方法 1: 我使用的jdk是1.8 windows—proferences—java–compiler設定jdk為1.8 windows—pro

(圖解)Description Resource Path Location Type Java compiler level does not match the version of

Description Resource Path Location Type Java compiler level does not match the version of project 編

Description Resource Path Location Type Java compiler level does not match the version of the instal

解決辦法 在專案上右鍵Properties-》Project Facets,在開啟的Project Facets頁面中的Java下拉列表中,選擇相應版本。 有可能是java1.6 改成java6之類的

Java compiler level does not match the version of the installed Java project facet

led epo sin eclips path tar repo alt rip 更換jdk版本時報以下問題:Description Resource Path Location TypeJava compiler level does not match the vers

[WPF]The type name ‘App’ does not exist in the type '...'的問題

-s tar type quest blog alt http 再次 ges refer to: https://stackoverflow.com/questions/4480087/wpf-the-type-name-app-does-not-exist-in-the-

新導入項目出現Java compiler level does not match the version of the installed java project facet問題處理

ima project 編譯 分享 face bsp 導入 ets 操作   在使用eclipse開發java類項目的時候,免不了會在不同的設備上開發編譯同一個項目,那麽就會出現Java compiler level does not match the version o

Java問題解決:Java compiler level does not match the version of the installed Java project facet.

問題 compiler .cn 技術分享 cnblogs java編譯 mpi 選中 per 問題原因:Java編譯器級別與Facted Project 中的Java 版本設定不匹配。 解決辦法:將兩者設置一致 1.查看Java compiler level :   選中項

C# the SystemParameters, “type or namespace does not exist”

ctu forms log bound question gpo sharp color project the SystemParameters, “type or namespace does not exist” 解決方法 * add a project refer

解決java compiler level does not match the version of the installed java project facet

ref 目錄 ngs eclipse 項目 cor 點擊 遇到 log 因為遇到這個問題,所以記錄一下。 轉載自:https://blog.csdn.net/chszs/article/details/8125828 java compiler level does