当 table 没有主键时,将 table 拖进 dbml,该 table 的 IsReadOnly=true; 对该 table 的字段进行修改后,db.SubmitChanges(),是不会报错,也并没有更新。
当 table 没有主键时,将 table 拖进 dbml,该 table 的 IsReadOnly=true;
对该 table 的字段进行修改后,db.SubmitChanges(),是不会报错,也并没有更新。