ParameterGenerationOption ParameterGenerationOption ParameterGenerationOption ParameterGenerationOption Enum

定义

设置在类型化 DataSet 类中生成的参数类型。Sets the type of parameters that are generated in a typed DataSet class.

public enum class ParameterGenerationOption
public enum ParameterGenerationOption
type ParameterGenerationOption = 
Public Enum ParameterGenerationOption
继承
ParameterGenerationOptionParameterGenerationOptionParameterGenerationOptionParameterGenerationOption

字段

ClrTypes ClrTypes ClrTypes ClrTypes 0

类型化数据集中的参数为 CLR 类型。Parameters in the typed dataset are CLR types.

Objects Objects Objects Objects 2

类型化数据集中的参数为所有 ObjectParameters in the typed dataset are all of Object.

SqlTypes SqlTypes SqlTypes SqlTypes 1

类型化数据集中的参数为 SQL 类型。Parameters in the typed dataset are Sql types.

注解

ParameterGenerationOption枚举用于MethodSignatureGenerator告知要在类型化数据集中生成的参数的类型。The ParameterGenerationOption enumeration is used to tell the MethodSignatureGenerator the type of parameters to generate in a typed dataset.

适用于