Home Products Support Services Contact
TMG Development Home
  Free XSDCF Typed Dataset Generator Software Applications : Developer Components : Consultancy 
Products
  PrintForm .NET
  PrintAdapters .NET
  Localizer ASP.NET
  WebExtenders .NET
  CryptoText
  BatteryTimer
Free Utilities
  VersionCheck .NET
  xsdcf .NET CF
  Setup.exe Utility
Downloads
Purchase
Support
  PrintForm .NET
  PrintAdapters .NET
  Localizer ASP.NET
  WebExtenders .NET
  CryptoText
  BatteryTimer
About Us
  Services
  Contact
  Privacy Statement
Developer Links
  .NET Links
  Pocket PC / WinCE
 
Microsoft Certified Partner

XSDCF

This is a free command line utility we produced recently, in the style of the xsd.exe supplied with the .NET Framework SDK. It produces a typed DataSet code file compatible with the .NET Compact Framework.

You can download a copy xsdcf.exe here.

xsdcf utility is similar to xsd.exe, though with fewer command line options. To read more about xsd.exe, see the MSDN Documentation. Basically, we only support code generation from an .xsd file:

xsdcf file.xsd [/language:language] 
               [/outputdir:directory]
Option Description
/l[anguage]:language Specifies the programming language to use. Choose from CS (C#; default), or VB (Visual Basic).
/o[utputdir]:outputdir Specifies the output directory for generated files. If this is not specified the directory containing the .xsd file is used.
/n[amespace]:namespace Specifies the namespace for generated files. The default namespace is Schemas.

Examples

The following command generates a DataSet that corresponds to the specified schema in the C# language, and saves it as XSDSchemaFile.cs in the root directory. The generated file has a namespace of XSDCF_Test:

xsdcf XSDSchemaFile.xsd /language:CS /output:C:\ /namespace:XSDCF_Test

Known Bugs

- xsdcf fails when it is run in a folder with spaces in the name

Release History

v1.0.0.5 - 17.5.04 - fix: generated DataTable.Add methods now take related row as parameter. fix: bug causing ParentRow.GetChildRows() methods to be wrongly named. enh: primary key code optimized to reuse locally declared DataColumn[]
v1.0.0.4 - 17.5.04 - enh: primary key code created for constraints in codegen (typed dataset code for primary key constraint was not being generated)
v1.0.0.3 - 12.5.04 - fix: for FormatInfo -> invariant culture (command line parameters incorrectly parsed in localized cultures)