TypedDataSetGenerator
This class allows you to programmatically generate a typed
DataSet
. However, it’s extremely
unlikely that you’ll ever use this class. Instead,
you’ll almost always rely on Visual Studio .NET or
the xsd.exe command-line utility to create a set of classes for a
typed DataSet
using a schema file. This process is
described in Chapter 13.
public class TypedDataSetGenerator { // Public Constructors public TypedDataSetGenerator( ); // Public Static Methods public static void Generate(DataSetdataSet
, System.CodeDom.CodeNamespacecodeNamespace
, System.CodeDom.Compiler.ICodeGeneratorcodeGen
); public static string GenerateIdName(stringname
, System.CodeDom.Compiler.ICodeGeneratorcodeGen
); }