Article View: borland.public.delphi.database.dotnet
Article #121Re: Creating Strongly Typed Datasets from XSD files
From: Robert รgren
Date: Mon, 25 Sep 2006 07:14
Date: Mon, 25 Sep 2006 07:14
17 lines
1654 bytes
1654 bytes
James Tilby wrote: > I am looking for a way that I can convert an XML schema (XSD) file into a > strongly typed dataset class. I can see this can be done from a database > source, but I want to use a schema file. > > In Visual Studio I can do this in the IDE, but would like to do this in the > Delphi IDE and create Delphi (pascal) code. Hi, if you have added the XSD file to a Delphi.NET project, try right-clicking the XSD file in the project manager and selecting Generate dataset (at the bottom of the menu). The file must be saved before the Generate dataset option is available IIRC. Regards, Robert
Technical Details
Message-ID:
<451781ab$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<45116da1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 1effe6,e8a528f0ebc1ac60 X-Google-Attributes: gid1effe6,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Mon, 25 Sep 2006 09:14:11 +0200 From: Robert รgren <robert.ogren.re-mo-ve-me@prodacapo.remove.com.remove> User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 Newsgroups: borland.public.delphi.database.dotnet Subject: Re: Creating Strongly Typed Datasets from XSD files References: <45116da1@newsgroups.borland.com> In-Reply-To: <45116da1@newsgroups.borland.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 85.11.220.75 Message-ID: <451781ab$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1159168427 85.11.220.75 (25 Sep 2006 00:13:47 -0700) Lines: 17 Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail