Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Generate Method
Collapse the table of content
Expand the table of content

TypedDataSetGenerator.Generate Method

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft