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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.