Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
TypedDataSetGenerator.GenerateOption Enumeration

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
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.
NoneGenerates typed datasets that are compatible with typed datasets generated in versions of Visual Studio earlier than Visual Studio 2008.

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 that were added in Visual Studio 2008. 

Also see Hierarchical Update Overview.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5 SP1, 3.0 SP1, 2.0 SP1
© 2015 Microsoft