Bewerken

Delen via


TypedDataSetGenerator.GenerateOption Enum

Definition

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

This enumeration supports a bitwise combination of its member values.

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

Fields

Name Value Description
None 0

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

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.

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