如何将主键值传递给外键 [英] how to pass primary key value to foreign key

查看:59
本文介绍了如何将主键值传递给外键的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何将主键值传递给c中的外键#



实际上我创建了员工详细信息类和部门详细信息类,其中部门ID是常见的如何通过这个部门ID到部门类,以便我可以访问部门类以获得部门名称

how to pass primary key value to foreign key in c#

Actually i created employee details class and department details class where Department ID is common how how can i pass this Department ID to department class so that i can access the department class to get department name

推荐答案

这篇关于如何将主键值传递给外键的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆