Name

TypedDataSetGenerator

Synopsis

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(DataSet dataSet, System.CodeDom.CodeNamespace codeNamespace,

        System.CodeDom.Compiler.ICodeGenerator codeGen);

   public static string GenerateIdName(string name, 

        System.CodeDom.Compiler.ICodeGenerator codeGen);  

}

Get ADO.NET in a Nutshell now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.