【发布时间】:2013-03-26 14:26:54
【问题描述】:
谁能告诉我如何插入数据到
Table Student has columns {stuId Name Age}
Table School has columns {classId Year sName}
“sName”是学生表中的引用键
我想使用实体模型 C# 插入数据
【问题讨论】:
-
您的数据库设计看起来不太好。您在“学校”表中有“sName”吗?
-
你是说
sName是从Student链接到Name的吗?
标签: c# wpf entity-framework-4 entity