ParameterTypeSemantics 枚举
[本页针对的是实体框架版本 6。最新版本以“实体框架”NuGet 包的形式提供。有关实体框架的更多信息,请参见 msdn.com/data/ef。]
定义用于解析函数重载的类型语义的枚举。 这些标志是在提供程序清单中根据函数定义来定义的。
命名空间: System.Data.Entity.Core.Metadata.Edm
程序集: EntityFramework(在 EntityFramework.dll 中)
语法
声明
<SuppressMessageAttribute("Microsoft.Naming", "CA1717:OnlyFlagsEnumsShouldHavePluralNames")> _
Public Enumeration ParameterTypeSemantics
用法
Dim instance As ParameterTypeSemantics
[SuppressMessageAttribute("Microsoft.Naming", "CA1717:OnlyFlagsEnumsShouldHavePluralNames")]
public enum ParameterTypeSemantics
[SuppressMessageAttribute(L"Microsoft.Naming", L"CA1717:OnlyFlagsEnumsShouldHavePluralNames")]
public enum class ParameterTypeSemantics
[<SuppressMessageAttribute("Microsoft.Naming", "CA1717:OnlyFlagsEnumsShouldHavePluralNames")>]
type ParameterTypeSemantics
public enum ParameterTypeSemantics
成员
成员名称 | 描述 | |
---|---|---|
AllowImplicitConversion | 允许在给定参数类型和形参类型(默认值)之间进行隐式转换。 | |
AllowImplicitPromotion | 允许在给定参数类型和形参类型之间进行类型提升。 | |
ExactMatchOnly | 仅使用严格等效。 |