English 中文(简体)
我如何在没有使用方言箱的情况下在C#项目中建立MySQL数据库的链接?
原标题:How do I set up a connection string for a MySQL database in a C# project without using dialog boxes?

<>m>NOTE:显然,MySQL连接器安装在Dialog Boxes中自动显示增加数据来源的原因,是<<>Visual 2008 Express Editiont><>>>>doesn t允许视力监测器内的“3rd party Integration”。 因此,由于MySQL连接器的综合工具有,因此,通过人工方式建立数据来源更为重要。


我的目标是利用实体框架(ADO.NET实体数据模型)与MySQL数据库建立联系。 我感到沮丧的是,所有的izar子和方言箱,我仍然能够找到我所期待的东西。

在我迄今为止所做的事情上:我刚刚在我的机器上安装了MySQL .NETLinkor v6.1.3(我知道,这套机器是正确的安装。 它见于控制小组的Add/Remove方案。 在视觉演播室(Visual C# 2008 Express Edition SP1, 和有SP1号船舶的实体框架版本),我点击了一个项目,点击了“ADO.NET实体数据模型”,并给我一个屏幕,询问“模型应当包含什么?” 我选择了“数据库中的基因”,然后点击下。

这一屏幕问我,我应当使用哪些数据。 我点击“新联线”,并接受这样的屏幕:

指定经营实体可选择的。 NET MySQLLinkor,我刚刚安装?

我知道的链接,但我可以说明如何将其应用到我的应用中,以便视觉演播室认识到这一点,使用《残疾和健康调查》。 NET联接器,并允许我选择这一联系,以形成实体模式。 如何做到这一点?

最佳回答

添加条目。 确切地说,供应商与MySQL供应商的特性是正确的。

问题回答




相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

NSArray s, Primitive types and Boxing Oh My!

I m pretty new to the Objective-C world and I have a long history with .net/C# so naturally I m inclined to use my C# wits. Now here s the question: I feel really inclined to create some type of ...

C# Marshal / Pinvoke CBitmap?

I cannot figure out how to marshal a C++ CBitmap to a C# Bitmap or Image class. My import looks like this: [DllImport(@"test.dll", CharSet = CharSet.Unicode)] public static extern IntPtr ...

How to Use Ghostscript DLL to convert PDF to PDF/A

How to user GhostScript DLL to convert PDF to PDF/A. I know I kind of have to call the exported function of gsdll32.dll whose name is gsapi_init_with_args, but how do i pass the right arguments? BTW, ...

Linqy no matchy

Maybe it s something I m doing wrong. I m just learning Linq because I m bored. And so far so good. I made a little program and it basically just outputs all matches (foreach) into a label control. ...