TypedDataSetGenerator.Generate Method (DataSet, CodeNamespace, ICodeGenerator)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Generates a strongly typed DataSet.

Namespace:   System.Data
Assembly:  System.Data (in System.Data.dll)

public static void Generate(
	DataSet dataSet,
	CodeNamespace codeNamespace,
	ICodeGenerator codeGen
)

Parameters

dataSet
Type: System.Data.DataSet

The source DataSet that specifies the metadata for the typed DataSet.

codeNamespace
Type: System.CodeDom.CodeNamespace

The namespace that provides the target namespace for the typed DataSet.

codeGen
Type: System.CodeDom.Compiler.ICodeGenerator

The generator used to create the typed DataSet.

The TypedDataSetGenerator class is not intended for use as a stand-alone component, but as a class from which other classes derive standard functionality.

.NET Framework
Available since 1.1
Return to top
Show: