Edit

Share via


TypedDataSetGenerator.Generate(DataSet, CodeNamespace, ICodeGenerator) Method

Definition

Generates a strongly typed DataSet.

public:
 static void Generate(System::Data::DataSet ^ dataSet, System::CodeDom::CodeNamespace ^ codeNamespace, System::CodeDom::Compiler::ICodeGenerator ^ codeGen);
public static void Generate (System.Data.DataSet dataSet, System.CodeDom.CodeNamespace codeNamespace, System.CodeDom.Compiler.ICodeGenerator codeGen);
static member Generate : System.Data.DataSet * System.CodeDom.CodeNamespace * System.CodeDom.Compiler.ICodeGenerator -> unit
Public Shared Sub Generate (dataSet As DataSet, codeNamespace As CodeNamespace, codeGen As ICodeGenerator)

Parameters

dataSet
DataSet

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

codeNamespace
CodeNamespace

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

codeGen
ICodeGenerator

The generator used to create the typed DataSet.

Remarks

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

Applies to