生成代码以将XML模式转换为对数据的支持 [英] Generating the code to turn an XML schema into support for a datas

查看:43
本文介绍了生成代码以将XML模式转换为对数据的支持的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果发布此内容错误,请原谅我。我发布的最后一个地方给了我一个相当粗鲁的回应。我想vb.db人们根本不想将b $ b视为数据库。无论如何,这是我发布的内容:


我在测试了团队版本的b $ b后,已经下载了VS 2005 pro的最终制作版本。我想知道我是不是被搞砸了,或者周日早上是否太早了

a。


在我看来它是相对的从Team中的

XML模式生成数据集很简单。我不能为我的生活找到一种方法在PRO中这样做。

这是正确的。我是否必须手工生成

dataset.designer.vb的逻辑???????

问候,

Al Christoph

高级顾问和所有者

Three Bears Software,LLC

恰到好处的软件@恰到好处的价格@ 3bears.biz

Please forgive me if this is the wrong place to post this. The last place I
posted got me a fairly rude response. I guess vb.db people just don''t want to
think about XML as database. At any rate, here is what I posted:

I have downloaded the final production version of VS 2005 pro after testing
with Team version. I wonder if I''ve been screwed or if it''s just too early on
a Sunday morning.

It seems to me that it was relatively trivial to generate a dataset from an
XML schema in Team. I can''t for the life of me find a way to do that in PRO.
Is this correct. Do I have to hand generate the logic for the
dataset.designer.vb???????
Regards,
Al Christoph
Senior Consultant and Proprietor
Three Bears Software, LLC
just right software @ just right prices @3bears.biz

推荐答案

你好AI,


欢迎。关于团队版本你提到过,你的意思是

你在发布的VS.NET 2005专业测试团队系统功能

版本?如果是这样,您是否会提供当前

场景的更多背景信息,以便我们能够更详细地了解您的问题。谢谢,


Steven Cheng

微软在线支持


安全! www.microsoft.com/security

(此帖子按原样提供,不作任何保证,并且不授予

权利。)


------------ --------

| Thread-Topic:生成代码以将XML模式转换为支持

数据

| thread-index:AcXdff7Hh + mAv / + 9RRuNxOuTiL3b2g ==

| X-WBNR-Posting-Host:67.38.9.125

|从:=?Utf-8?B?QWwgQ2hyaXN0b3Bo?=

< Al ****************** @ newsgroups.nospam>

|主题:生成代码以将XML模式转换为支持

数据

|日期:2005年10月30日星期日10:16:06 -0800

|行数:19

|消息ID:< BB ********************************** @ microsoft.co m>

| MIME版本:1.0

|内容类型:text / plain;

| charset =" Utf-8"

|内容传输编码:7位

| X-Newsreader:适用于Windows 2000的Microsoft CDO

| Content-Class:urn:content-classes:message

|重要性:正常

|优先级:正常

| X-MimeOLE:由Microsoft MimeOLE制作V6.00.3790.0

|新闻组:microsoft.public.dotnet.xml

| NNTP-Posting-Host:TK2MSFTNGXA03.phx.gbl 10.40.2.250

|路径:TK2MSFTNGXA01.phx.gbl!TK2MSFTNGXA03.phx.gbl

|外部参照:TK2MSFTNGXA01.phx.gbl microsoft.public.dotnet.xml:9124

| X-Tomcat-NG:microsoft.public.dotnet.xml

|

|如果这是发布此错误的地方,请原谅我。最后一个地方



|贴了我一个相当粗鲁的回应。我猜vb.db人们只是不要
想要

|将XML视为数据库。无论如何,这是我发布的内容:

|

|我已经下载了VS 2005 pro的最终制作版本

测试

|与团队版本。我想知道我是不是被搞砸了,或者它是否太早了

早期

|星期天早上。

|

|在我看来,从

生成数据集是相对微不足道的。

| Team中的XML模式。我不能为我的生活找到一种方法来做到这一点

PRO。

|它是否正确。我是否必须手动生成

|的逻辑dataset.designer.vb ???????

|

|

|问候,

| Al Christoph

|高级顾问和所有者

| Three Bears Software,LLC

|恰到好处的软件@恰到好处的价格@ 3bears.biz

|

Hi AI,

Welcome. Regarding on the "Team version" you mentioned, do you means
you''re testing the team system feature in released VS.NET 2005 professional
edition? If so, would you provide some further background of your current
scenario so that we can get a more detaild view of your problem. Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

--------------------
| Thread-Topic: Generating the code to turn an XML schema into support for
a datas
| thread-index: AcXdff7Hh+mAv/+9RRuNxOuTiL3b2g==
| X-WBNR-Posting-Host: 67.38.9.125
| From: =?Utf-8?B?QWwgQ2hyaXN0b3Bo?=
<Al******************@newsgroups.nospam>
| Subject: Generating the code to turn an XML schema into support for a
datas
| Date: Sun, 30 Oct 2005 10:16:06 -0800
| Lines: 19
| Message-ID: <BB**********************************@microsoft.co m>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| Newsgroups: microsoft.public.dotnet.xml
| NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
| Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGXA03.phx.gbl
| Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.dotnet.xml:9124
| X-Tomcat-NG: microsoft.public.dotnet.xml
|
| Please forgive me if this is the wrong place to post this. The last place
I
| posted got me a fairly rude response. I guess vb.db people just don''t
want to
| think about XML as database. At any rate, here is what I posted:
|
| I have downloaded the final production version of VS 2005 pro after
testing
| with Team version. I wonder if I''ve been screwed or if it''s just too
early on
| a Sunday morning.
|
| It seems to me that it was relatively trivial to generate a dataset from
an
| XML schema in Team. I can''t for the life of me find a way to do that in
PRO.
| Is this correct. Do I have to hand generate the logic for the
| dataset.designer.vb???????
|
|
| Regards,
| Al Christoph
| Senior Consultant and Proprietor
| Three Bears Software, LLC
| just right software @ just right prices @3bears.biz
|


Al Christoph写道:
Al Christoph wrote:
请原谅我,如果这是错误的发布地点。我发布的最后一个地方给了我一个相当粗鲁的回应。我想vb.db人们不想将XML视为数据库。
Please forgive me if this is the wrong place to post this. The last
place I posted got me a fairly rude response. I guess vb.db people
just don''t want to think about XML as database.




他们可能是对的。 XML是一种标记语言,而不是DBMS。有很多相似之处,但也有一些可怕的差异。


///彼得

-

XML常见问题解答: http://xml.silmaril.ie/


感谢您的回复。我承认你在说什么。这不是一个

数据库应用程序。我们传统上使用Access来存储大量相对不频繁的数据。这导致DLL地狱,因为我们

免费分发我们的软件以支持销售公司

真正的东西。


SOOOO ...在全新的2005版本中,我们可能会使用XML来支持
存储信息并将整个内容作为一组表格读入内存中

代码行。 (在我的版本中花了1000'代码行的东西

继承:-(不要问:-)


一旦我们'已经把整个大猩猩读进了记忆中(眨眼之间,即使它已经被压缩和加密了 - 好bb!)我们想要对待它

好像它确实是出于某些目的的数据库。


我觉得有一个工具可以让XML创建

..designer .vb代码提供引用列和行的属性和

等。我以为我记得在早期的东西中作为架构或数据选择

(2003年或早期发布我现在还不知道。)因此我的

请求比较图表或其他方式来理解如果我购买Pro的话,会从IDE中消除
而不是团队。


理解我需要的一个好方法是将SQL或Access DB带入

解决方案。此时你已经拥有了

< dataset> .designer.vb中的各种好东西,我希望我不必手动生成如果

我正在使用是一个XML模式。


换句话说:

1.设计XML模式。

2.尝试打开它与数据集编辑器 - 不会让你没有战斗。

3.挥动魔杖。

4.现在尝试用数据集编辑器打开它你只看到你想要的东西。


什么是魔术棒? - )


问候,

Al Christoph

高级顾问和所有者

Three Bears Software,LLC

恰到好处的软件@恰到好处的价格@ 3bears.biz

Steven Cheng [MSFT]"写道:
Thanks for the reply. I acknowledge what you are saying. This is NOT a
database application. We have traditionally used Access to store a large
amount of relatively infrequently chagned data. That led to DLL hell as we
distributed our software free in support of sales of the stuff the company
really makes.

SOOOO ... In the all new 2005 version, we are probably gong to use XML to
store the info and read the whole thing into memory as a set of tables in one
line of code. (Something which took 1000''s of lines of code in the version I
inherited:-( Don''t ask:-)

Once we''ve read the whole gorilla into memory (a blink of an eye even though
it has been compressed and encrypted - good going folks!) we want to treat it
as if it really were a data base for some purposes.

It strikes me that there is a tool that given the XML will create the
..designer.vb code to provide for properties to reference columns and rows and
etc. I thought I remember that as a schema or data pick in earlier stuff
(2003 or the early releases I just don''t know at this point.) Hence my
request for a comparison chart or other way of understanding what disppears
from the IDE if I buy Pro rather than Team.

A good way of understanding what I need is to bring an SQL or Access DB into
the solution. At that point you have all sorts of goodies lurking in
<dataset>.designer.vb that I hope that I don''t have to manually generate if
all I''m working with is an XML schema.

To put it another way:
1. Design an XML schema.
2. Try opening it with the dataset editor - won''t let you without a fight.
3. Wave the magic wand.
4. Now try opening it with the dataset editor and you see just what you want.

WHAT IS THE MAGIC WAND?-)

Regards,
Al Christoph
Senior Consultant and Proprietor
Three Bears Software, LLC
just right software @ just right prices @3bears.biz
"Steven Cheng[MSFT]" wrote:
嗨AI,

欢迎。关于团队版本你提到过,你是否意味着你正在测试已发布的VS.NET 2005专业版的团队系统功能?如果是这样,您是否会提供当前
场景的更多背景知识,以便我们能够更详细地了解您的问题。谢谢,

Steven Cheng
微软在线支持

获得安全! www.microsoft.com/security
(此帖已提供按原样,没有保证,也没有赋予
权利。)

--------------------
| Thread-Topic:生成代码以将XML模式转换为对数据的支持
| thread-index:AcXdff7Hh + mAv / + 9RRuNxOuTiL3b2g ==
| X-WBNR-Posting-Host:67.38.9.125
|从:=?Utf-8?B?QWwgQ2hyaXN0b3Bo?=
< Al ****************** @ newsgroups.nospam>
|主题:生成代码以将XML模式转换为对
数据的支持
|日期:2005年10月30日星期日10:16:06 -0800
|行:19
|消息ID:< BB ********************************** @ microsoft.co m>
| MIME版本:1.0
|内容类型:text / plain;
| charset =" Utf-8"
| Content-Transfer-Encoding:7bit
| X-Newsreader:适用于Windows 2000的Microsoft CDO
| Content-Class:urn:content-classes:message
|重要性:正常
|优先级:正常
| X-MimeOLE:由Microsoft MimeOLE制作V6.00.3790.0
|新闻组:microsoft.public.dotnet.xml
| NNTP-Posting-Host:TK2MSFTNGXA03.phx.gbl 10.40.2.250
|路径:TK2MSFTNGXA01.phx.gbl!TK2MSFTNGXA03.phx.gbl
|外部参照:TK2MSFTNGXA01.phx.gbl microsoft.public.dotnet.xml:9124
| X-Tomcat-NG:microsoft.public.dotnet.xml
|
|如果这是发布此错误的地方,请原谅我。最后一个地方

|贴了我一个相当粗鲁的回应。我想vb.db的人只是不想
|将XML视为数据库。无论如何,这是我发布的内容:
|
|我在
测试后下载了VS 2005 pro的最终产品版本与团队版本。我想知道我是不是已经被搞砸了,或者它是否过早地在
|星期天早上。
|
|在我看来,从
生成数据集是相对微不足道的Team中的XML模式。我不能为我的生活找到一种方法来实现这一点。
PRO。
|它是否正确。我是否必须手动生成
|的逻辑dataset.designer.vb ???????
|
|
|问候,
| Al Christoph
|高级顾问和所有者
| Three Bears Software,LLC
|恰到好处的软件@恰到好处的价格@ 3bears.biz
|
Hi AI,

Welcome. Regarding on the "Team version" you mentioned, do you means
you''re testing the team system feature in released VS.NET 2005 professional
edition? If so, would you provide some further background of your current
scenario so that we can get a more detaild view of your problem. Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

--------------------
| Thread-Topic: Generating the code to turn an XML schema into support for
a datas
| thread-index: AcXdff7Hh+mAv/+9RRuNxOuTiL3b2g==
| X-WBNR-Posting-Host: 67.38.9.125
| From: =?Utf-8?B?QWwgQ2hyaXN0b3Bo?=
<Al******************@newsgroups.nospam>
| Subject: Generating the code to turn an XML schema into support for a
datas
| Date: Sun, 30 Oct 2005 10:16:06 -0800
| Lines: 19
| Message-ID: <BB**********************************@microsoft.co m>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| Newsgroups: microsoft.public.dotnet.xml
| NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
| Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGXA03.phx.gbl
| Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.dotnet.xml:9124
| X-Tomcat-NG: microsoft.public.dotnet.xml
|
| Please forgive me if this is the wrong place to post this. The last place
I
| posted got me a fairly rude response. I guess vb.db people just don''t
want to
| think about XML as database. At any rate, here is what I posted:
|
| I have downloaded the final production version of VS 2005 pro after
testing
| with Team version. I wonder if I''ve been screwed or if it''s just too
early on
| a Sunday morning.
|
| It seems to me that it was relatively trivial to generate a dataset from
an
| XML schema in Team. I can''t for the life of me find a way to do that in
PRO.
| Is this correct. Do I have to hand generate the logic for the
| dataset.designer.vb???????
|
|
| Regards,
| Al Christoph
| Senior Consultant and Proprietor
| Three Bears Software, LLC
| just right software @ just right prices @3bears.biz
|



这篇关于生成代码以将XML模式转换为对数据的支持的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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