This documentation is archived and is not being maintained.

TypedDataSetGenerator.GenerateOption Enumeration

Provides the TypedDataSetGeneratorwith information for creating typed datasets that support LINQ to DataSet and hierarchical update.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

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

public enum GenerateOption

Member nameDescription
NoneGenerates typed datasets that are compatible with typed datasets generated in versions of Visual Studio earlier than Visual Studio 2008.
HierarchicalUpdateGenerates typed datasets that have a TableAdapterManager and associated methods for enabling hierarchical update.
LinqOverTypedDatasetsGenerates typed datasets that have data tables that inherit from TypedTableBase<T> in order to enable the ability to perform LINQ queries on data tables.

The TypedDataSetGenerator.GenerateOption enumeration provides the TypedDataSetGenerator with information about the type of typed dataset to create when the TypedDataSetGenerator.Generate method is called.

The TypedDataSetGenerator.GenerateOption enumeration enables you to implement new features in typed datasets without needing to create additional overloads to the TypedDataSetGenerator.Generate method.


LINQ to DataSet and hierarchical update are features in Visual Studio 2008. For more information, see Hierarchical Update Overview and Hierarchical Update Overview and Hierarchical Update Overview and Hierarchical Update Overview and Hierarchical Update Overview. 

.NET Framework

Supported in: 4, 3.5 SP1, 3.0 SP1, 2.0 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.