ParameterTypeSemantics 枚举

定义

指定用于解析函数重载的类型语义。 在提供程序清单文件中,每个存储提供程序都必须使用这些枚举标志来定义每个函数。Each store provider must use these enumeration flags in the provider manifest file for every function definition.

public enum class ParameterTypeSemantics
public enum ParameterTypeSemantics
type ParameterTypeSemantics = 
Public Enum ParameterTypeSemantics
继承
ParameterTypeSemantics

字段

AllowImplicitConversion 0

一个标志,指示在给定自变量类型和形式自变量类型之间进行隐式转换。A flag indicating the implicit conversion between the given and the formal argument types. 这是默认的转换类型。This is the default conversion type.

AllowImplicitPromotion 1

一个标志,指示在给定自变量类型和形式自变量类型之间进行类型提升。A flag indicating the type promotion between the given and the formal argument types.

ExactMatchOnly 2

一个标志,指示只能使用完全等同。A flag indicating the usage of strict equivalence only.

注解

ParameterTypeSemantics类为提供程序基元类型的可提升性、隐式转换和显式转换指定类型语义。The ParameterTypeSemantics class specifies type semantics for promotability, implicit conversion, and explicit conversion for the provider primitive types. ADO.NETADO.NET将此信息从存储提供程序清单文件ParameterTypeSemantics读入类中。reads this information from the storage provider manifest file into the ParameterTypeSemantics class. 接下来,ADO.NETADO.NET 使用 ParameterTypeSemantics 类并基于参数类型来确定适当的函数定义。Then, ADO.NETADO.NET uses the ParameterTypeSemantics class to determine the appropriate function definitions based on the parameter types.

适用于