English 中文(简体)
数据集设计师业绩问题
原标题:Dataset Designer Performance Question

谁能告诉我,是否在使用数据集设计器方面有任何效费,而不是使用代码和人工检索数据建立数据链接?

问题回答

当你利用设计师创建数据集时,你正在创建“类型数据集”。 如果你能够,则使用分类数据集,以在代码中生成数据。 一类数据集提高了你保持自己 app的能力。 您不能以直号提及您的数据栏,而可以通过汇编的特性来查阅。

而不是......

Dataset1.Datatable1(0)("UserId") = 1

页: 1

Dataset1.Datatable1(0).UserId = 1

这似乎并不像很多,但你消除了你在法典中某处歪曲你的一栏名的机会。 还有其他许多好处。

就业绩而言,无论你是用密码还是设计师来建设,你都获得了任何运行时间的业绩差异的通知。 该设计师从您的XSD文档中产生代码。 然而,由于记忆中的数据很多,你更无法设计一个更高效利用资源的习俗类别。

简称......

  • It is worth using typed datasets instead of non-typed datasets because of the development/maintenance benefits.
  • Most of the time you won t notice a problem with performance if you use datasets.




相关问题
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. ...

热门标签