自动在DataSet上生成关系 [英] Auto generate relations on DataSet

查看:52
本文介绍了自动在DataSet上生成关系的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我有一个任务,我想用数据库(MSSQL Server)中的多个表填充数据集及其关系。


我的问题是:如果已经在数据库级别设置了关系,是否可以在数据集中的表之间自动生成关系?如果有可能那么?

解决方案

你好Kovacs Levente,


谢谢你在这里发布。


如果您的问题与数据集更相关,我会将其移至
ADO.NET DataSet
 论坛以获得合适的支持。


Visual C#讨论并询问C#编程语言,IDE,库,示例和工具。


如果您有一些语法或代码错误,请随时与我们联系。我们将尽力提供解决方案。


感谢您的理解与合作。


最诚挚的问候,


温迪


Hello,  I have a task where I want to fill dataset with multiple tables from database (MSSQL Server) and with their relationships.

And my question is: Is possible to auto generate relations between tables in dataset, if relations was set up already on database level? and if it is possible then how?

解决方案

Hi Kovacs Levente,

Thank you for posting here.

For your question is more related to dataset, I will move it to ADO.NET DataSet forum for suitable support.

The Visual C# discuss and ask the C# programming language, IDE, libraries, samples and tools.

If you have some grammar or code errors, please feel free to contact us. We will try our best to give a solution.

Thanks for your understanding and cooperation.

Best Regards,

Wendy


这篇关于自动在DataSet上生成关系的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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