[英]how to insert a record in middle table in entityframework
我有两个基本表(护士,患者),还有一个代表体检结果的中间表包括(id - patient_id -nurse_id - reslt)
所以我做了一个新结果并给它它的值然后将它添加到我的 DBEntities 然后保存但是这个问题发生了
问题到底出在哪里?
问题出在生成的实体中,我只删除了该实体并创建了另一个实体(使用从现有数据库生成),现在它工作正常
[英]How to insert records in master table using EntityFrameWork
[英]Entityframework Insert into Table FK Relationship
[英]How to insert a record in a child table?
[英]EntityFramework always create new relation table record
[英]EntityFramework transaction rollback with multi table insert
[英]EntityFramework Insert into Oracle table with a sequence as PK
[英]Selft referencing table in EntityFramework (Insert error)
[英]How to insert a record into a access table using oledb?
[英]How to Update existing record and insert new record in SQL table ? SQL
[英]How to fetch multiple record through entityframework
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.