TypedDataSetGenerator.GenerateOption Enum

Definition

Provides the TypedDataSetGenerator with 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.

public: enum class TypedDataSetGenerator::GenerateOption
[System.Flags]
public enum TypedDataSetGenerator.GenerateOption
type TypedDataSetGenerator.GenerateOption = 
Public Enum TypedDataSetGenerator.GenerateOption
Inheritance
TypedDataSetGenerator.GenerateOption
Attributes

Fields

HierarchicalUpdate 1

Generates typed datasets that have a TableAdapterManager and associated methods for enabling hierarchical update.

LinqOverTypedDatasets 2

Generates typed datasets that have data tables that inherit from TypedTableBase<T> in order to enable the ability to perform LINQ queries on data tables.

None 0

Generates typed datasets that are compatible with typed datasets generated in versions of Visual Studio earlier than Visual Studio 2008.

Remarks

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.

Note

LINQ to DataSet and hierarchical update are features that were added in Visual Studio 2008.

Also see Hierarchical Update Overview.

Applies to